NumberField.ControlTemplate property
Gets the template that renders the NumberField control in the current context.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Protected Overrides ReadOnly Property ControlTemplate As ITemplate
Get
'Usage
Dim value As ITemplate
value = Me.ControlTemplate
protected override ITemplate ControlTemplate { get; }
Property value
Type: System.Web.UI.ITemplate
A ITemplate that renders the control.
Remarks
The default implementation returns the AlternateTemplate if the ShowAsPercentage property (of the SPFieldNumber object that has NumberField as its FieldRenderingControl property) is true. Otherwise, it returns Template.