BaseFieldControl.PreviousControlMode property
Gets a value that identifies the control mode of the BaseFieldControl object before the last postback.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Protected Overridable ReadOnly Property PreviousControlMode As SPControlMode
Get
'Usage
Dim value As SPControlMode
value = Me.PreviousControlMode
protected virtual SPControlMode PreviousControlMode { get; }
Property value
Type: Microsoft.SharePoint.WebControls.SPControlMode
An SPControlMode that indicates the last control mode of the BaseFieldControl object before the last postback.
Remarks
The previous control mode is stored in the ViewState property.