IStateManager.IsTrackingViewState Propriété

Définition

Implémenté par une classe, obtient une valeur indiquant si un contrôle serveur effectue le suivi des changements de son état d'affichage.

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

Valeur de propriété

Boolean

true si le contrôle serveur effectue le suivi des changements de son état d'affichage ; sinon, false.

Exemples

// 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

S’applique à

Voir aussi