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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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