System.Web.UI.WebControls.MenuItemStyle Members

The members of System.Web.UI.WebControls.MenuItemStyle are listed below.

See Also: Inherited members from System.Web.UI.WebControls.Style

Public Constructors

Initializes a new instance of the System.Web.UI.WebControls.MenuItemStyle class.

Initializes a new instance of the System.Web.UI.WebControls.MenuItemStyle class using the specified state information.

Public Properties

HorizontalPaddingUnit.

Gets or sets the amount of space to the left and right of the menu item's text.

[read-only]
IsEmptybool. Documentation for this section has not yet been entered.
ItemSpacingUnit.

Gets or sets the amount of vertical spacing between the menu item to which the System.Web.UI.WebControls.MenuItemStyle object is applied and its adjacent menu items.

VerticalPaddingUnit.

Gets or sets the amount of space above and below a menu item's text.

Public Methods

override
CopyFrom(Style)

Copies the style properties of the specified System.Web.UI.WebControls.Style object into the current instance of the System.Web.UI.WebControls.MenuItemStyle class.

override
MergeWith(Style)

Combines the style properties of the specified System.Web.UI.WebControls.Style object with those of the current instance of the System.Web.UI.WebControls.MenuItemStyle class.

override
Reset()

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

Protected Methods