Defines the fluent API for configuring DiagramEditableSettingsToolMenuButton
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
public class DiagramEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel>
Inherited Members
Constructors
DiagramEditableSettingsToolMenuButtonBuilder method.
public DiagramEditableSettingsToolMenuButtonBuilder(DiagramEditableSettingsToolMenuButton<TShapeModel, TConnectionModel> container)
Properties
Container
DiagramEditableSettingsToolMenuButton<TShapeModel, TConnectionModel>
Container member.
protected DiagramEditableSettingsToolMenuButton<TShapeModel, TConnectionModel> Container { get; }
Methods
Specifies whether the menu button is initially enabled or disabled.
public DiagramEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel> Enable(bool value)
The value for Enable
Returns:DiagramEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel> instance.
Specifies the HTML attributes of a menu button.
public DiagramEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel> HtmlAttributes(IDictionary<string, object> value)
The value for HtmlAttributes
Returns:DiagramEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel> instance.
Specifies the HTML attributes of a menu button.
public DiagramEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel> HtmlAttributes(object value)
The value for HtmlAttributes
Returns:DiagramEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel> instance.
Sets icon for the menu buttons. The icon should be one of the existing in the Kendo UI theme sprite.
public DiagramEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel> Icon(string value)
The value for Icon
Returns:DiagramEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel> instance.
Specifies the ID of the menu buttons.
public DiagramEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel> Id(string value)
The value for Id
Returns:DiagramEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel> instance.
If set, the ToolBar will render an image with the specified URL in the menu button.
public DiagramEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel> ImageUrl(string value)
The value for ImageUrl
Returns:DiagramEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel> instance.
Defines a CSS class (or multiple classes separated by spaces) which will be used for menu button icon.
public DiagramEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel> SpriteCssClass(string value)
The value for SpriteCssClass
Returns:DiagramEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel> instance.
Specifies the text of the menu buttons.
public DiagramEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel> Text(string value)
The value for Text
Returns:DiagramEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel> instance.
Specifies the url of the menu button to navigate to.
public DiagramEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel> Url(string value)
The value for Url
Returns:DiagramEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramEditableSettingsToolMenuButtonBuilder<TShapeModel, TConnectionModel> instance.