DiagramEditableResizeHandlesSettingsBuilder
Methods
Fill(System.Action)
Specifies the fill settings of the resizing handles.
Parameters
configurator - System.Action<DiagramEditableResizeHandlesFillSettingsBuilder>
The action that configures the fill.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.Editable(e => e.Resize(r => r.Handles(h => h.Fill(f =>f.Color("red").Opacity(0.5)))))
)
Height(System.Double)
Specifies the height of the resizing handles.
Parameters
value - System.Double
The value that configures the height.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.Editable(e => e.Resize(r => r.Handles(h => h.Height(10))))
)
Hover(System.Action)
Specifies the settings of the resizing handles on hovering over them.
Parameters
configurator - System.Action<DiagramEditableResizeHandlesHoverSettingsBuilder>
The action that configures the hover.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.Editable(e => e.Resize(r => r.Handles(h => h.Hover(hh => hh.Fill(f => f.Color("green").Opacity(0.8))))))
)
Stroke(System.Action)
Specifies the stroke of the resizing handles.
Parameters
configurator - System.Action<DiagramEditableResizeHandlesStrokeSettingsBuilder>
The action that configures the stroke.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.Editable(e => e.Resize(r => r.Handles(h => h.Stroke(s => s.Color("blue").Width(1)))))
)
Width(System.Double)
Specifies the width of the resizing handles.
Parameters
value - System.Double
The value that configures the width.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.Editable(e => e.Resize(r => r.Handles(h => h.Width(10))))
)