System.Web.UI.WebControls.MenuItemStyle.Reset Method

Returns the current instance of the System.Web.UI.WebControls.MenuItemStyle class to its original state.

Syntax

public override void Reset ()

Remarks

Use the MenuItemStyle.Reset method to remove any defined style elements from the state bag and reset the System.Web.UI.WebControls.MenuItemStyle object to its original state.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0