Defines the fluent API for configuring DiagramConnectionEditableSettingsToolButton
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
public class DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Inherited Members
Constructors
DiagramConnectionEditableSettingsToolButtonBuilder method.
public DiagramConnectionEditableSettingsToolButtonBuilder(DiagramConnectionEditableSettingsToolButton<TShapeModel, TConnectionModel> container)
Properties
Container
DiagramConnectionEditableSettingsToolButton<TShapeModel, TConnectionModel>
Container member.
protected DiagramConnectionEditableSettingsToolButton<TShapeModel, TConnectionModel> Container { get; }
Methods
Specifies the click event handler of the button. Applicable only for the children of a ButtonGroup.
public DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> Click(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> instance.
Specifies the click event handler of the button. Applicable only for the children of a ButtonGroup.
public DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> Click(string handler)
The name of the JavaScript function that will be evaluated.
Returns:DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> instance.
Specifies whether the button is initially enabled or disabled.
public DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> Enable(bool value)
The value for Enable
Returns:DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> instance.
Assigns the button to a group. Applicable only for the children of a ButtonGroup that has togglable true.
public DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> Group(string value)
The value for Group
Returns:DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> instance.
Specifies the HTML attributes of a ButtonGroup's button.
public DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> HtmlAttributes(IDictionary<string, object> value)
The value for HtmlAttributes
Returns:DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> instance.
Specifies the HTML attributes of a ButtonGroup's button.
public DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> HtmlAttributes(object value)
The value for HtmlAttributes
Returns:DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> instance.
Sets icon for the menu button. The icon should be one of the existing in the Kendo UI theme sprite.
public DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> Icon(string value)
The value for Icon
Returns:DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> instance.
Specifies the ID of the button.
public DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> Id(string value)
The value for Id
Returns:DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> instance.
If set, the ToolBar will render an image with the specified URL in the button.
public DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> ImageUrl(string value)
The value for ImageUrl
Returns:DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> instance.
Specifies if the toggle button is initially selected. Applicable only for the children of a ButtonGroup that has togglable true.
public DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> Selected(bool value)
The value for Selected
Returns:DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> instance.
Specifies where the icon of the button will be displayed. Applicable only for the children of a ButtonGroup.
public DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> ShowIcon(string value)
The value for ShowIcon
Returns:DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> instance.
Specifies where the text of the menu button will be displayed. Applicable only for the buttons of a ButtonGroup.
public DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> ShowText(string value)
The value for ShowText
Returns:DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> instance.
Defines a CSS class (or multiple classes separated by spaces) which will be used for button icon.
public DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> SpriteCssClass(string value)
The value for SpriteCssClass
Returns:DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> instance.
Specifies the text of the menu button.
public DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> Text(string value)
The value for Text
Returns:DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> instance.
Specifies if the button is togglable, e.g. has a selected and unselected state. Applicable only for the children of a ButtonGroup.
public DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> Togglable(bool value)
The value for Togglable
Returns:DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> instance.
Specifies the toggle event handler of the button. Applicable only for the children of a ButtonGroup.
public DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> Toggle(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> instance.
Specifies the toggle event handler of the button. Applicable only for the children of a ButtonGroup.
public DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> Toggle(string handler)
The name of the JavaScript function that will be evaluated.
Returns:DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> instance.
Specifies the url of the button to navigate to.
public DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> Url(string value)
The value for Url
Returns:DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> instance.