SPControlMode enumeration

Specifies the mode of the control.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Enumeration SPControlMode
'Usage
Dim instance As SPControlMode
public enum SPControlMode

Members

Member name Description
Invalid A placeholder value in the enumeration indicating that it has no valid display mode from one of the other enumeration values.
Display Specifies that the control is in display mode.
Edit Specifies that the control is in edit mode.
New Specifies that the control is in New mode.

See also

Reference

Microsoft.SharePoint.WebControls namespace