MindFusion.UI for WebForms Programmer's Guide

MenuItem Members

Constructors Properties Methods
 


Represents an item within a Menu control.

The following tables list the members exposed by the MenuItem type.

 Public Constructors

  Name Description

MenuItem

Initializes a new instance of the MenuItem class.

 Public Properties

  Name Description

Children

Gets the collection of child items.

Content

Gets or sets the menu item's custom content.

CssClass

Gets or sets the default CSS class for this menu item.

Enabled

Gets or sets a value indicating whether the MenuItem is enabled.

ImageUrl

Gets or sets the URL of the image.

Index

Gets the index of the current menu item.

IsSeparator

Gets or sets a value indicating whether the item is a separator.

IsTrackingViewState

Gets a value indicating whether state changes are being tracked.

Name

Gets the type of the control.

NavigateUrl

Gets or sets the URL of the page that will be navigated to when a user clicks the MenuItem.

Owner

Gets the owner menu of the current menu item.

Parent

Gets the parent menu item of the current menu item.

Root

Gets the root MenuItem of the current menu item.

RootCssClass

Gets or sets the default CSS class for this root menu item.

Title

Gets or sets the title text displayed by this item.

ToolTip

Gets or sets the tooltip text displayed by this item.

Value

Gets or sets the custom data associated by this item.

 Public Methods

  Name Description

SetDirty

Sets the state of the StateBag object.

 Protected Methods

  Name Description

LoadFromXml

Loads the control from an XML element.

SaveToXml

Saves the control to the underlying document under the specified name.

 See Also