New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Kendo UI DiagramEditableSettingsTool class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

TShapeModel

TConnectionModel

Syntax:

C#
public class DiagramEditableSettingsTool<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class

Inheritance: objectDiagramEditableSettingsTool<TShapeModel, TConnectionModel>

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public DiagramEditableSettingsTool()

Properties

Buttons

List<DiagramEditableSettingsToolButton<TShapeModel, TConnectionModel>>

Specifies the buttons of ButtonGroup.

C#
public List<DiagramEditableSettingsToolButton<TShapeModel, TConnectionModel>> Buttons { get; set; }

Specifies the click event handler of the button. Applicable only for commands of type button and splitButton.

C#
public ClientHandlerDescriptor Click { get; set; }

Diagram

Diagram<TShapeModel, TConnectionModel>

Diagram member.

C#
public Diagram<TShapeModel, TConnectionModel> Diagram { get; set; }

Specifies whether the control is initially enabled or disabled. Default value is "true".

C#
public bool? Enable { get; set; }

Assigns the button to a group. Applicable only for buttons with togglable set to true.

C#
public string Group { get; set; }

Specifies the HTML attributes of a button.

C#
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.

C#
public string Icon { get; set; }

Specifies the ID of the button.

C#
public string Id { get; set; }

If set, the ToolBar will render an image with the specified URL in the button.

C#
public string ImageUrl { get; set; }

Specifies the menu buttons of a SplitButton.

C#
public List<DiagramEditableSettingsToolMenuButton<TShapeModel, TConnectionModel>> MenuButtons { get; set; }

The name of the tool. The built-in tools are "edit", "createShape", "createConnection", "undo", "redo", "rotateClockwise" and "rotateAnticlockwise".

C#
public string Name { get; set; }

Specifies how the button behaves when the ToolBar is resized. Possible values are "always", "never" or "auto" (default).

C#
public string Overflow { get; set; }

Specifies what element will be added in the command overflow popup. Applicable only for items that have a template.

C#
public string OverflowTemplate { get; set; }

The handler that returns the template used for OverflowTemplate

C#
public string OverflowTemplateHandler { get; set; }

The id of the script element used for OverflowTemplate

C#
public string OverflowTemplateId { get; set; }

Specifies whether the button is primary. Primary buttons receive different styling.

C#
public bool? Primary { get; set; }

Specifies if the toggle button is initially selected. Applicable only for buttons with togglable set to true.

C#
public bool? Selected { get; set; }

Specifies where the button icon will be displayed. Possible values are "toolbar", "overflow" or "both" (default).

C#
public string ShowIcon { get; set; }

Specifies where the text will be displayed. Possible values are "toolbar", "overflow" or "both" (default).

C#
public string ShowText { get; set; }

Defines a CSS class (or multiple classes separated by spaces) which will be used for button icon.

C#
public string SpriteCssClass { get; set; }

The step of the rotateClockwise and rotateAnticlockwise tools.

C#
public double? Step { get; set; }

Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type.

C#
public string Template { get; set; }

The handler that returns the template used for Template

C#
public string TemplateHandler { get; set; }

The id of the script element used for Template

C#
public string TemplateId { get; set; }

Sets the text of the button.

C#
public string Text { get; set; }

Specifies if the button is togglable, e.g. has a selected and unselected state.

C#
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.

C#
public ClientHandlerDescriptor Toggle { get; set; }

Specifies the command type. Supported types are "button", "splitButton", "buttonGroup", "separator".

C#
public string Type { get; set; }

Specifies the url to navigate to.

C#
public string Url { get; set; }

Methods

Serialize current instance to Dictionary

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Serialize current instance to Dictionary

C#
protected virtual Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>