SPControlMode enumeration
Collapse the table of content
Expand the table of content

SPControlMode enumeration

Specifies the mode of the control.

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

Public Enumeration SPControlMode
Dim instance As SPControlMode

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.
© 2016 Microsoft