Defines the fluent API for configuring the DiagramShapeDefaultsEditableSettingsToolButton settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
public class DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Inherited Members
Constructors
public DiagramShapeDefaultsEditableSettingsToolButtonBuilder(DiagramShapeDefaultsEditableSettingsToolButton settings)
Methods
Specifies the "click" event handler of the button within a ButtonGroup.
public DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> Click(Func<object, object> handler)
The value that configures the click action.
Returns:DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Specifies the "click" event handler of the button within a ButtonGroup.
public DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> Click(string handler)
The value that configures the click action.
Returns:DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Specifies whether the ButtonGroup button must be initially enabled or disabled.
public DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> Enable(bool value)
The value that configures the Enable option.
Returns:DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Assigns the button to a group. The options is applicable only for the children of a ButtonGroup that has Togglable(true).
public DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> Group(string value)
The value that configures the group of the button.
Returns:DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Specifies the HTML attributes of a ButtonGroup's button.
public DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> HtmlAttributes(IDictionary<string, object> value)
The value that configures the HTML attributes.
Returns:DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Specifies the HTML attributes of a ButtonGroup's button.
public DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> HtmlAttributes(object value)
The value that configures the HTML attributes.
Returns:DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Sets an icon for the ButtonGroup button. The icon must be one of the existing in the Kendo UI theme sprite.
public DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> Icon(string value)
The value that configures the icon.
Returns:DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Specifies the ID of the button within the ButtonGroup.
public DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> Id(string value)
The value that configures the id of the button.
Returns:DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Sets an image with a specified URL to be rendered in the button.
public DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> ImageUrl(string value)
The value that configures the image URL.
Returns:DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Specifies if the toggle button must be initially selected. The option applies only to the children of the ButtonGroup that have Togglable(true).
public DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> Selected(bool value)
The value that configures the selected button state.
Returns:DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Specifies where the icon of the button will be displayed. The supported values are: "toolbar", "overflow", and "both" (default).
public DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> ShowIcon(string value)
The value that configures the visibility of the button icon.
Returns:DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Specifies where the text of the button will be displayed. The supported values are: "toolbar", "overflow", and "both" (default).
public DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> ShowText(string value)
The value that configures the visibility of the button text..
Returns:DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Defines a CSS class (or multiple classes separated by spaces) that will be used for the button's icon.
public DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> SpriteCssClass(string value)
The value that configures the CSS class.
Returns:DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Specifies the text of the button.
public DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> Text(string value)
The value that configures the text.
Returns:DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Specifies whether the button must be togglable. For example, the button has a selected and unselected state.
public DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> Togglable(bool value)
The value that enables or disables the togglable option.
Returns:DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Specifies the "toggle" event handler of the button. The option is applicable only for buttons with option Togglable(true).
public DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> Toggle(Func<object, object> handler)
The value that configures the toggle action.
Returns:DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Specifies the "toggle" event handler of the button. The option is applicable only for buttons with option Togglable(true).
public DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> Toggle(string handler)
The value that configures the toggle action.
Returns:DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>
Specifies the URL of the button to navigate to.
public DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel> Url(string value)
The value that configures the URL.
Returns:DiagramShapeDefaultsEditableSettingsToolButtonBuilder<TShapeModel, TConnectionModel>