Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class DiagramShapeDefaultsEditableSettingsTool : JsonObject
Inheritance: objectJsonObjectDiagramShapeDefaultsEditableSettingsTool
Inherited Members
Constructors
public DiagramShapeDefaultsEditableSettingsTool()
Properties
Specifies the buttons of ButtonGroup.
public List<DiagramShapeDefaultsEditableSettingsToolButton> Buttons { get; set; }
Specifies the click event handler of the button. Applicable only for commands of type button and splitButton.
public ClientHandlerDescriptor Click { get; set; }
Specifies whether the control is initially enabled or disabled. Default value is "true".
public bool? Enable { get; set; }
Assigns the button to a group. Applicable only for buttons with togglable set to true.
public string Group { get; set; }
Specifies the HTML attributes of a button.
public IDictionary<string, object> HtmlAttributes { get; set; }
Sets icon for the item. The icon should be one of the existing in the Kendo UI theme sprite.
public string Icon { get; set; }
If set, the ToolBar will render an image with the specified URL in the button.
public string ImageUrl { get; set; }
Specifies the menu buttons of a SplitButton.
public List<DiagramShapeDefaultsEditableSettingsToolMenuButton> MenuButtons { get; set; }
The name of the tool. The built-in tools are edit, delete, rotateClockwise, and rotateAnticlockwise.
public string Name { get; set; }
Specifies how the button behaves when the ToolBar is resized. Possible values are "always", "never" or "auto" (default).
public string Overflow { get; set; }
Specifies what element will be added in the command overflow popup. Applicable only for items that have a template.
public string OverflowTemplate { get; set; }
The handler for the OverflowTemplate
public string OverflowTemplateHandler { get; set; }
The id for the OverflowTemplate
public string OverflowTemplateId { get; set; }
Specifies whether the button is primary. Primary buttons receive different styling.
public bool? Primary { get; set; }
Specifies if the toggle button is initially selected. Applicable only for buttons with togglable set to true.
public bool? Selected { get; set; }
Specifies where the button icon will be displayed. Possible values are "toolbar", "overflow" or "both" (default).
public string ShowIcon { get; set; }
Specifies where the text will be displayed. Possible values are "toolbar", "overflow" or "both" (default).
public string ShowText { get; set; }
Defines a CSS class (or multiple classes separated by spaces) which will be used for button icon.
public string SpriteCssClass { get; set; }
The step of the rotateClockwise and rotateAnticlockwise tools. It determines the angle at which a selected shape will be rotated when one of the tools is clicked.
public double? Step { get; set; }
Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type.
public string Template { get; set; }
The handler for the Template
public string TemplateHandler { get; set; }
The id for the Template
public string TemplateId { get; set; }
Specifies if the button is togglable, e.g. has a selected and unselected state.
public bool? Togglable { get; set; }
Specifies the toggle event handler of the button. Applicable only for commands of type button and togglable set to true.
public ClientHandlerDescriptor Toggle { get; set; }
Specifies the command type. Supported types are "button", "splitButton", "buttonGroup", "separator".
public string Type { get; set; }
Methods
protected override void Serialize(IDictionary<string, object> json)
Overrides: