This documentation is archived and is not being maintained.
SPControlMode enumeration
Specifies the mode of the control.
Namespace:
Microsoft.SharePoint.WebControlsAssembly:
Microsoft.SharePoint (in Microsoft.SharePoint.dll)
No code example is currently available or this language may not be supported.
| 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. |