Inheritance
System.Object
Menu
Assembly: Syncfusion.EJ2.dll
public class Menu : EJTagHelper
Constructors
Declaration
Properties
Specifies the animation settings for the sub menu open.
Declaration
public MenuAnimationSettings AnimationSettings { get; set; }
Property Value
Triggers before closing the menu.
Declaration
public string BeforeClose { get; set; }
Property Value
Type |
Description |
System.String |
|
Triggers while rendering each menu item.
Declaration
public string BeforeItemRender { get; set; }
Property Value
Type |
Description |
System.String |
|
Triggers before opening the menu item.
Declaration
public string BeforeOpen { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
protected override string ClassName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Triggers once the component rendering is completed.
Declaration
public string Created { get; set; }
Property Value
Type |
Description |
System.String |
|
Defines class/multiple classes separated by a space in the Menu wrapper.
Declaration
public string CssClass { get; set; }
Property Value
Type |
Description |
System.String |
|
Defines whether to allow the cross-scripting site or not.
Declaration
public bool EnableHtmlSanitizer { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Enable or disable persisting component's state between page reloads.
Declaration
public bool EnablePersistence { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Enable or disable rendering component in right to left direction.
Declaration
public bool EnableRtl { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Specifies whether to enable / disable the scrollable option in Menu.
Declaration
public bool EnableScrolling { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Specifies mapping fields from the dataSource.
Declaration
public MenuFieldSettings Fields { get; set; }
Property Value
Specifies whether to enable / disable the hamburger mode in Menu.
Declaration
public bool HamburgerMode { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Allows additional HTML attributes such as title, name, etc., and
accepts n number of attributes in a key-value pair format.
Declaration
public object HtmlAttributes { get; set; }
Property Value
Type |
Description |
System.Object |
|
Declaration
protected override bool IsFor { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Specifies menu items with its properties which will be rendered as Menu.
Declaration
public object Items { get; set; }
Property Value
Type |
Description |
System.Object |
|
Overrides the global culture and localization value for this component. Default global culture is 'en-US'.
Declaration
public string Locale { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
protected override string NameSpace { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Triggers while closing the menu.
Declaration
public string OnClose { get; set; }
Property Value
Type |
Description |
System.String |
|
Triggers while opening the menu item.
Declaration
public string OnOpen { get; set; }
Property Value
Type |
Description |
System.String |
|
Specified the orientation of Menu whether it can be horizontal or vertical.
Declaration
public Orientation Orientation { get; set; }
Property Value
Triggers while selecting menu item.
Declaration
public string Select { get; set; }
Property Value
Type |
Description |
System.String |
|
Specifies whether to show the sub menu or not on click.
When set to true, the sub menu will open only on mouse click.
Declaration
public bool ShowItemOnClick { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
protected override string TagName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Specifies target element to open/close Menu while click in Hamburger mode.
Declaration
public string Target { get; set; }
Property Value
Type |
Description |
System.String |
|
Specifies the template for Menu item.
Declaration
public string Template { get; set; }
Property Value
Type |
Description |
System.String |
|
Specifies the title text for hamburger mode in Menu.
Declaration
public string Title { get; set; }
Property Value
Type |
Description |
System.String |
|