Share via


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

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.

See also

Reference

BaseFieldControl class

BaseFieldControl members

Microsoft.SharePoint.WebControls namespace