Skip to main content
Tab

MenuItemStyle Properties

Defines style settings for menu items.
Name Description
BackColor Gets or sets the background color of the Web server control. Inherited from Style.
BackgroundImage Gets the background image defined by the current style. Inherited from AppearanceStyleBase.
Border Gets the border settings defined by the current style. Inherited from AppearanceStyleBase.
BorderBottom Gets the settings of the bottom border. Inherited from AppearanceStyleBase.
BorderLeft Gets the settings of the left border. Inherited from AppearanceStyleBase.
BorderRight Gets the settings of the right border. Inherited from AppearanceStyleBase.
BorderTop Gets the settings of the top border. Inherited from AppearanceStyleBase.
CanRaiseEvents protected Gets a value indicating whether the component can raise an event. Inherited from Component.
CheckedStyle Gets the style settings which define a menu item’s appearance in the checked state. Inherited from MenuItemStyleBase.
Container Gets the IContainer that contains the Component. Inherited from Component.
CssClass Gets or sets the cascading style sheet (CSS) class rendered by the Web server control on the client. Inherited from Style.
Cursor Gets or sets the type of cursor to display when the mouse pointer is over the object which the current style applies to. Inherited from AppearanceStyleBase.
DesignMode protected Gets a value that indicates whether the Component is currently in design mode. Inherited from Component.
DropDownButtonSpacing Gets or sets the amount of space between the right border of a menu item and the drop down button displayed at the menu level that the current style applies to.
DropDownButtonStyle Gets the style settings which define a drop down button‘s appearance.
Empty static This property is not in effect for the AppearanceStyle class. Inherited from AppearanceStyle.
Events protected Gets the list of event handlers that are attached to this Component. Inherited from Component.
Font Gets the font properties associated with the Web server control. Inherited from Style.
ForeColor Gets or sets the foreground color (typically the color of the text) of the Web server control. Inherited from Style.
Height Gets or sets an item’s height. Inherited from MenuItemStyleBase.
HorizontalAlign Gets or sets the horizontal alignment of the contents within its container. Inherited from AppearanceStyleBase.
HoverStyle Gets the style settings which define the appearance of the corresponding element when the mouse pointer is hovering over it. Inherited from AppearanceStyle.
ImageSpacing Gets or sets the amount of space between an image and the text contents within a container cell. Inherited from AppearanceStyle.
IsEmpty Gets a value that indicates whether this MenuItemStyle object is initialized with the default values.
IsTrackingViewState protected Returns a value indicating whether any style elements have been defined in the state bag. Inherited from Style.
Paddings Gets the padding settings of the current style. Inherited from AppearanceStyle.
PopOutImageSpacing Gets or sets the amount of space between the right borders of a menu item and the pop-out image displayed at the menu level which the current style applies to. Inherited from MenuItemStyleBase.
RegisteredCssClass Gets the cascading style sheet (CSS) class that is registered with the control. Inherited from Style.
SelectedStyle Gets the style for the selected element. Inherited from AppearanceItemStyle.
Site Gets or sets the ISite of the Component. Inherited from Component.
ToolbarDropDownButtonSpacing Gets or sets the amount of space between the border of a menu item contents (text or image) and its drop down button.
ToolbarPopOutImageSpacing Gets or sets the amount of space between the border of the menu item’s contents (text or image) and its pop-out image.
VerticalAlign Gets or sets the vertical alignment of the contents in its container. Inherited from AppearanceStyleBase.
Width Gets or sets the item’s width. Inherited from MenuItemStyleBase.
Wrap Indicates whether the text content wraps in a container cell. Inherited from AppearanceStyleBase.
See Also