Share via


SPControlMode Enumeration

Specifies the mode of the control.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<SubsetCallableTypeAttribute> _
Public Enumeration SPControlMode
'Usage
Dim instance As SPControlMode
[SubsetCallableTypeAttribute]
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