IStateManager.IsTrackingViewState Propriedade

Definição

Quando implementado por uma classe, obtém um valor que indica se um controle de servidor está acompanhando as alterações de estado de exibição.

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

Valor da propriedade

Boolean

true se um controle de servidor estiver acompanhando suas alterações de estado de exibição; caso contrário, false.

Exemplos

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

Aplica-se a

Confira também