This documentation is archived and is not being maintained.

MenuItem.System.Web.UI.IStateManager.IsTrackingViewState Property

This property supports the .NET Framework infrastructure and is not intended to be used directly from your code.

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

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)

bool IStateManager.IsTrackingViewState { get; }
Not applicable.

Property Value

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

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

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

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0