SPControlMode Enumeration
Specifies the mode of the control.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
| 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. |