Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the control mode of the current page or form: Display, New, or Edit.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration
Public ReadOnly Property ControlMode As SPControlMode
Get
'Usage
Dim instance As SPMobileContext
Dim value As SPControlMode
value = instance.ControlMode
public SPControlMode ControlMode { get; }
Type: Microsoft.SharePoint.WebControls.SPControlMode
An SPControlMode that specifies whether the current form is for displaying, creating, or editing a list item.