New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Kendo UI ToolBarItemMenuButton class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class ToolBarItemMenuButton

Inheritance: objectToolBarItemMenuButton

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public ToolBarItemMenuButton()

Properties

Specifies whether the menu button is initially enabled or disabled.

C#
public bool? Enable { get; set; }

Determines if a button is visible or hidden. By default buttons are visible.

C#
public bool? Hidden { get; set; }

Specifies the HTML attributes of a menu button.

C#
public IDictionary<string, object> HtmlAttributes { get; set; }
C#
public string Icon { get; set; }

Sets icon for the menu buttons. The icon should be one of the existing in the Kendo UI theme sprite.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.

C#
public ToolBarItemMenuButtonIconSettings IconSettings { get; }

Specifies the ID of the menu buttons.

C#
public string Id { get; set; }

If set, the ToolBar will render an image with the specified URL in the menu button.

C#
public string ImageUrl { get; set; }

Defines a CSS class (or multiple classes separated by spaces) which will be used for menu button icon.

C#
public string SpriteCssClass { get; set; }

Specifies the text of the menu buttons.

C#
public string Text { get; set; }

ToolBar member.

C#
public ToolBar ToolBar { get; set; }

Specifies the url of the menu button to navigate to.

C#
public string Url { get; set; }

Methods

Serialize method.

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Serialize current instance to Dictionary

C#
protected virtual Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>