SPFieldNumber.ShowAsPercentage Property

Gets or sets a Boolean value that specifies whether to render the field as a percentage.

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 SPFieldNumber
Dim value As Boolean

value = instance.ShowAsPercentage

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

Property Value

Type: System.Boolean
true to render the field as a percentage; otherwise, false.

See Also

Reference

SPFieldNumber Class

SPFieldNumber Members

Microsoft.SharePoint Namespace