IStateManager.IsTrackingViewState Proprietà

Definizione

Quando viene implementata da una classe, ottiene un valore che indica se un controllo server tiene traccia delle modifiche apportate al relativo stato di visualizzazione.

public:
 property bool IsTrackingViewState { bool get(); };
public bool IsTrackingViewState { get; }
member this.IsTrackingViewState : bool
Public ReadOnly Property IsTrackingViewState As Boolean

Valore della proprietà

Boolean

true se un controllo server tiene traccia delle modifiche apportate al relativo stato di visualizzazione; in caso contrario, false.

Esempio

// Implement the IsTrackingViewState method for this class 
// by calling the IsTrackingViewState method of the class's
// private _viewstate property. 
bool IStateManager.IsTrackingViewState
{
    get
    {
        return ((IStateManager)_viewstate).IsTrackingViewState;
    }
}
' Implement the IsTrackingViewState method for this class 
' by calling the IsTrackingViewState method of the class's
' private _viewstate property. 

ReadOnly Property IsTrackingViewState() As Boolean Implements IStateManager.IsTrackingViewState
    Get
        Return CType(_viewstate, IStateManager).IsTrackingViewState
    End Get
End Property

Si applica a

Vedi anche