Skip to main content

MenuExtension Members

Represents an extension object implementing the Menu functionality.

Constructors

Name Description
MenuExtension(MenuSettings, ViewContext) Initializes a new instance of the MenuExtension class with the specified settings and provides the context information about the view.
MenuExtension(MenuSettings) Initializes a new instance of the MenuExtension class with the specified settings.

Methods

Name Description
Bind(Object) Binds the Menu to a data source.
BindToSiteMap(String, Boolean) Binds the Menu to the sitemap file specified by its name, and specifies whether the starting node should be displayed.
BindToSiteMap(String) Binds the Menu to the sitemap file specified by its name.
BindToXML(String, String, String) Binds the Menu to the XML file specified by its name, XPath expression and transformation file name.
BindToXML(String, String) Binds the Menu to the XML file specified by its name and an XPath expression.
BindToXML(String) Binds the Menu to the XML file specified by its name.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetHtml() Inserts the HTML code rendered by an extension into the required page output. Inherited from ExtensionBase.
GetState(String) static Gets the information about the state of menu items.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Render() Renders the extension’s HTML code to the Response. Inherited from ExtensionBase.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also