MenuItem.IStateManager.IsTrackingViewState Property


Gets a value that indicates whether the MenuItem object is saving changes to its view state.

property bool System::Web::UI::IStateManager::IsTrackingViewState { bool get(); };
bool System.Web.UI.IStateManager.IsTrackingViewState { get; }
member this.System.Web.UI.IStateManager.IsTrackingViewState : bool
 ReadOnly Property IsTrackingViewState As Boolean Implements IStateManager.IsTrackingViewState

Property Value


true if the control is marked to save its state; otherwise, false.



Typically, you should use the IStateManager.IsTrackingViewState member to determine whether a MenuItem object is tracking view-state changes.

The IStateManager.IsTrackingViewState member is an explicit interface member implementation. It can be used only when a MenuItem instance is cast to an IStateManager interface.

Applies to

See also