SPFieldCurrency.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 Overrides Property ShowAsPercentage As Boolean
    Get
    Set
'Usage
Dim instance As SPFieldCurrency
Dim value As Boolean

value = instance.ShowAsPercentage

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

Property Value

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

See Also

Reference

SPFieldCurrency Class

SPFieldCurrency Members

Microsoft.SharePoint Namespace