SPControlMode enumeration

Specifies the mode of the control.

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

No code example is currently available or this language may not be supported.

Member nameDescription
InvalidA placeholder value in the enumeration indicating that it has no valid display mode from one of the other enumeration values.
DisplaySpecifies that the control is in display mode.
EditSpecifies that the control is in edit mode.
NewSpecifies that the control is in New mode.
Show: