Share via


SPFieldCalculated.ShowAsPercentage property

Gets or sets a Boolean value that determines whether values in the field are displayed as percentages.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Overridable Property ShowAsPercentage As Boolean
    Get
    Set
'Usage
Dim instance As SPFieldCalculated
Dim value As Boolean

value = instance.ShowAsPercentage

instance.ShowAsPercentage = value
public virtual bool ShowAsPercentage { get; set; }

Property value

Type: System.Boolean
true to render values in the field as percentages; otherwise, false.

See also

Reference

SPFieldCalculated class

SPFieldCalculated members

Microsoft.SharePoint namespace