Partilhar 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)
Available in Sandboxed Solutions: No

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.

See Also

Reference

BaseFieldControl Class

BaseFieldControl Members

Microsoft.SharePoint.WebControls Namespace