Defines the fluent API for configuring the DiagramShapeEditableSettingsToolMenuButton settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
public class DiagramShapeEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramShapeEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel>
Inherited Members
Constructors
public DiagramShapeEditableSettingsToolMenuButtonBuilder(DiagramShapeEditableSettingsToolMenuButton settings)
Methods
Specifies whether the menu button must be initially enabled or disabled.
public DiagramShapeEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel> Enable(bool value)
The value that enables or disables the button.
Returns:DiagramShapeEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel>
Specifies the HTML attributes of a menu button of a SplitButton or a DropDownButton.
public DiagramShapeEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel> HtmlAttributes(IDictionary<string, object> value)
The value that configures the HTML attributes.
Returns:DiagramShapeEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel>
Specifies the HTML attributes of a menu button of a SplitButton or a DropDownButton.
public DiagramShapeEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel> HtmlAttributes(object value)
The value that configures the HTML attributes.
Returns:DiagramShapeEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel>
Sets an icon for the menu button. The icon must be one of the existing in the Kendo UI theme sprite.
public DiagramShapeEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel> Icon(string value)
The value that configures the icon.
Returns:DiagramShapeEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel>
Specifies the ID of the menu button.
public DiagramShapeEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel> Id(string value)
The value that configures the id.
Returns:DiagramShapeEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel>
Sets an image with a specified URL to be rendered in the menu button.
public DiagramShapeEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel> ImageUrl(string value)
The value that configures the image URL.
Returns:DiagramShapeEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel>
Defines a CSS class (or multiple classes separated by spaces) that will be used for menu button's icon.
public DiagramShapeEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel> SpriteCssClass(string value)
The value that configures the CSS class.
Returns:DiagramShapeEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel>
Specifies the text of the menu button.
public DiagramShapeEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel> Text(string value)
The value that configures the text.
Returns:DiagramShapeEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel>
Specifies the URL of the menu button to navigate to.
public DiagramShapeEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel> Url(string value)
The value that configures the URL.
Returns:DiagramShapeEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel>