ASP.NET Pack Programmer's Guide
Menu Members
Constructors Properties Methods Events
 


Represents a customizable web menu control.

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

 Public Constructors

  Name Description

Menu

Initializes a new instance of the Menu class.

 Public Properties

  Name Description

AutoPostBack

Gets or sets a value specifying whether the control should automatically post back to the server when an item is clicked.

ClientScriptMode

Gets or sets a value indicating which library will be used in the control's client-side scripts.

CloseTimeout

Gets or sets the number of milliseconds to wait before closing an item.

ControlLoadedScript

Gets or sets the name of a JavaScript function that should be invoked when the control is loaded.

IsThemed

Gets a value indicating the control has its Theme property set to a specified value.

ItemClickedScript

Gets or sets the name of a JavaScript function that should be invoked when a menu item is clicked.

ItemCssClass

Gets or sets the default CSS class for menu items.

ItemPadding

Gets or sets the padding of item's inner content

Items

Gets the collection of MenuItem instances, associated with this Menu.

LicenseKey

Gets or sets the license key of the control.

MenuCssClass

Gets or sets the default CSS class for the menu.

NavigationStyle

Specifies the navigation style of the menu.

Orientation

Specifies the orientation of the menu.

RootItemCssClass

Gets or sets the default CSS class for root menu items.

ShowTrail

Gets or sets a value indication whether all opened items should be highlighted.

Theme

Gets or sets the theme applied to the control's UI elements.

 Protected Properties

  Name Description

TagKey

WebControl.TagKey override.

 Public Methods

  Name Description

LoadFromXml

Overloaded. Loads control data from an XML file or from a System.Xml.XmlDocument.

LoadPostData

When implemented by a derived class, processes postback data for an ASP.NET server control.

OnDeserializeTag

Raises the DeserializeTag event.

OnSerializeTag

Raises the SerializeTag event.

RaisePostDataChangedEvent

When implemented by a derived class in the server control notifies the ASP.NET application that the state of the control has changed.

SaveToXml

Overloaded. Saves control data to an XML file or to a System.Xml.XmlDocument.

 Protected Methods

  Name Description

LoadViewState

Control.LoadViewState override.

OnBeginLoad

Raises the BeginLoad event.

OnEndLoad

Raises the EndLoad event.

OnItemClicked

Raises the ItemClicked event.

OnItemCreated

Raises the ItemCreated event.

OnItemDeleted

Raises the ItemDeleted event.

OnPreRender

Control.OnPreRender override.

Render

Control.Render override.

RenderContents

WebControl.RenderContents override.

SaveViewState

Control.SaveViewState override.

TrackViewState

Control.TrackViewState override.

 Public Events

  Name Description

BeginLoad

Raised when the component starts loading data from a file or memory stream.

DeserializeTag

Raised during XML deserialization to enable users to perform custom deserialization of the tag values of items.

EndLoad

Raised when the component ends loading data from a file or memory stream.

ItemClicked

Raised when a MenuItem is clicked.

ItemCreated

Raised when a new MenuItem is created.

ItemDeleted

Raised when a new MenuItem is deleted.

SerializeTag

Raised during XML serialization to enable users to perform custom serialization of the tag values of items.

 See Also

Menu Class
MindFusion.UI.WebForms Namespace