Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

SPControlMode enumeration

Specifies the mode of the control.

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

public enum 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.
© 2015 Microsoft