Kendo UI stroke TagHelper DiagramSelectableStrokeSettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("stroke", ParentTag = "selectable", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class DiagramSelectableStrokeSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseDiagramSelectableStrokeSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-diagram name="diagram">
<selectable>
<stroke color="red" />
</selectable>
</kendo-diagram>
Constructors
Initializes a new instance of the DiagramSelectableStrokeSettingsTagHelper class.
public DiagramSelectableStrokeSettingsTagHelper()
Properties
Defines the selection stroke color. Accepts valid CSS colors.
public string Color { get; set; }
Defines the selection dash type. The following dash types are supported: "dash" - a line consisting of dashes; "dashDot" - a line consisting of a repeating pattern of dash-dot; "dot" - a line consisting of dots; "longDash" - a line consisting of long dashes; "longDashDot" - a line consisting of a repeating pattern of long dash-dot; "longDashDotDot" - a line consisting of a repeating pattern of long dash-dot-dot or "solid" - a solid line.
public DiagramDashType? DashType { get; set; }
Methods
Adds the current TagHelper instance to its parent TagHelper.
protected override void AddSelfToParent(TagHelperContext context)
The TagHelper context.
Overrides:
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the defined settings.