OWSNumberField Class
The OWSNumberField class represents a server control for a field that contains numbers.
System.Object
System.Web.UI.Control
Microsoft.SharePoint.WebControls.SPControl
Microsoft.SharePoint.WebControls.OWSControl
Microsoft.SharePoint.WebControls.OWSNumberField
Public Constructors
The following table shows the public constructors of the OWSNumberField class and a brief description of each.
Name | Description |
---|---|
OWSNumberField | Initializes a new instance of the OWSNumberField class. |
Public Methods
The following table shows the public methods of the OWSNumberField class and a brief description of each.
Name | Description |
---|---|
LoadPostData | Processes post back data for the server control. |
RaisePostDataChangedEvent | Signals the server control to notify Microsoft Windows SharePoint Services that the state of the control has changed. |
Protected Methods
The following table shows the protected methods of the OWSNumberField class and a brief description of each.
Name | Description |
---|---|
Render | Sends the content of the control to the specified HtmlTextWriter object, which writes the content that is rendered on the client. |
Public Properties
The following table shows the public properties of the OWSNumberField class, the data type of each property, and a brief description of each.
Name | Data Type | Description |
---|---|---|
DisplayName | String | Gets or sets the display name for the number field. |
Max | String | Gets or sets the maximum value that can be contained in the number field. |
Min | String | Gets or sets the minimum value that can be contained in the number field. |
Required | Boolean | Gets or sets a Boolean value that specifies whether the number field must contain a value. |
Value | String | Gets or sets the value contained in the number field. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
Requirements
Namespace: Microsoft.SharePoint.WebControls
Platforms: Microsoft Windows Server 2003
Assembly: Windows SharePoint Services (in Microsoft.SharePoint.dll)
Security: Code Access Security