Defines the fluent API for configuring DiagramConnectionEditableSettingsTool
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
public class DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel>
Inherited Members
Constructors
DiagramConnectionEditableSettingsToolBuilder method.
public DiagramConnectionEditableSettingsToolBuilder(DiagramConnectionEditableSettingsTool<TShapeModel, TConnectionModel> container)
Properties
Container
DiagramConnectionEditableSettingsTool<TShapeModel, TConnectionModel>
Container member.
protected DiagramConnectionEditableSettingsTool<TShapeModel, TConnectionModel> Container { get; }
Methods
Specifies the buttons of ButtonGroup.
public DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> Buttons(Action<DiagramConnectionEditableSettingsToolButtonFactory<TShapeModel, TConnectionModel>> configurator)
The DiagramConnectionEditableSettingsToolButtonFactory<TShapeModel, TConnectionModel> for the buttons setting.
Returns:DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel>
Returns the current instance of DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> .
Specifies the click event handler of the button. Applicable only for commands of type button and splitButton.
public DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> Click(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> instance.
Specifies the click event handler of the button. Applicable only for commands of type button and splitButton.
public DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> Click(string handler)
The name of the JavaScript function that will be evaluated.
Returns:DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> instance.
Specifies whether the control is initially enabled or disabled. Default value is "true".
public DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> Enable(bool value)
The value for Enable
Returns:DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> instance.
Assigns the button to a group. Applicable only for buttons with togglable set to true.
public DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> Group(string value)
The value for Group
Returns:DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> instance.
Specifies the HTML attributes of a button.
public DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> HtmlAttributes(IDictionary<string, object> value)
The value for HtmlAttributes
Returns:DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> instance.
Specifies the HTML attributes of a button.
public DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> HtmlAttributes(object value)
The value for HtmlAttributes
Returns:DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> instance.
Sets icon for the item. The icon should be one of the existing in the Kendo UI theme sprite.
public DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> Icon(string value)
The value for Icon
Returns:DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> instance.
Specifies the ID of the button.
public DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> Id(string value)
The value for Id
Returns:DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> instance.
If set, the ToolBar will render an image with the specified URL in the button.
public DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> ImageUrl(string value)
The value for ImageUrl
Returns:DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> instance.
Specifies the menu buttons of a SplitButton.
public DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> MenuButtons(Action<DiagramConnectionEditableSettingsToolMenuButtonFactory<TShapeModel, TConnectionModel>> configurator)
The DiagramConnectionEditableSettingsToolMenuButtonFactory<TShapeModel, TConnectionModel> for the menubuttons setting.
Returns:DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel>
Returns the current instance of DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> .
The name of the tool. The built-in tools are "edit" and "delete".
public DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> Name(string value)
The value for Name
Returns:DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> instance.
Specifies how the button behaves when the ToolBar is resized. Possible values are "always", "never" or "auto" (default).
public DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> Overflow(string value)
The value for Overflow
Returns:DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> instance.
Specifies what element will be added in the command overflow popup. Applicable only for items that have a template.
public DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> OverflowTemplate(string value)
The value for OverflowTemplate
Returns:DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> instance.
Specifies what element will be added in the command overflow popup. Applicable only for items that have a template.
public DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> OverflowTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the overflowtemplate.
Returns:DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> instance.
Specifies what element will be added in the command overflow popup. Applicable only for items that have a template.
public DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> OverflowTemplateHandler(string templateHandler)
The handler that returs the template for OverflowTemplate
Returns:DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> instance.
Specifies what element will be added in the command overflow popup. Applicable only for items that have a template.
public DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> OverflowTemplateId(string templateId)
The ID of the template element for OverflowTemplate
Returns:DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> instance.
Specifies what element will be added in the command overflow popup. Applicable only for items that have a template.
public DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> OverflowTemplateView(IHtmlContent templateView)
The view that contains the template for OverflowTemplate
Returns:DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> instance.
Specifies whether the button is primary. Primary buttons receive different styling.
public DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> Primary(bool value)
The value for Primary
Returns:DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> instance.
Specifies if the toggle button is initially selected. Applicable only for buttons with togglable set to true.
public DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> Selected(bool value)
The value for Selected
Returns:DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> instance.
Specifies where the button icon will be displayed. Possible values are "toolbar", "overflow" or "both" (default).
public DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> ShowIcon(string value)
The value for ShowIcon
Returns:DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> instance.
Specifies where the text will be displayed. Possible values are "toolbar", "overflow" or "both" (default).
public DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> ShowText(string value)
The value for ShowText
Returns:DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> instance.
Defines a CSS class (or multiple classes separated by spaces) which will be used for button icon.
public DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> SpriteCssClass(string value)
The value for SpriteCssClass
Returns:DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> instance.
Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type.
public DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> Template(string value)
The value for Template
Returns:DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> instance.
Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type.
public DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> Template<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the template.
Returns:DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> instance.
Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type.
public DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> TemplateHandler(string templateHandler)
The handler that returs the template for Template
Returns:DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> instance.
Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type.
public DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> TemplateId(string templateId)
The ID of the template element for Template
Returns:DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> instance.
Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type.
public DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> TemplateView(IHtmlContent templateView)
The view that contains the template for Template
Returns:DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> instance.
Sets the text of the button.
public DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> Text(string value)
The value for Text
Returns:DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> instance.
Specifies if the button is togglable, e.g. has a selected and unselected state.
public DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> Togglable(bool value)
The value for Togglable
Returns:DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> instance.
Specifies the toggle event handler of the button. Applicable only for commands of type button and togglable set to true.
public DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> Toggle(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> instance.
Specifies the toggle event handler of the button. Applicable only for commands of type button and togglable set to true.
public DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> Toggle(string handler)
The name of the JavaScript function that will be evaluated.
Returns:DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> instance.
Specifies the command type. Supported types are "button", "splitButton", "buttonGroup", "separator".
public DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> Type(string value)
The value for Type
Returns:DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> instance.
Specifies the url to navigate to.
public DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> Url(string value)
The value for Url
Returns:DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramConnectionEditableSettingsToolBuilder<TShapeModel, TConnectionModel> instance.