IStateManager.IsTrackingViewState Propiedad

Definición

Cuando se implementa mediante una clase, se obtiene un valor que indica si un control de servidor está realizando el seguimiento de los cambios de su estado de vista.

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

Valor de propiedad

Boolean

true si un control de servidor está realizando el seguimiento de los cambios del estado de vista; en caso contrario, false.

Ejemplos

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

Se aplica a

Consulte también