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

Defines the fluent API for configuring the DiagramEditableRotateSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

TShapeModel

TConnectionModel

Syntax:

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

Inheritance: objectDiagramEditableRotateSettingsBuilder<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 DiagramEditableRotateSettingsBuilder(DiagramEditableRotateSettings settings)
Parameters:settingsDiagramEditableRotateSettings

Methods

Specifies the fill settings of the rotation thumb.

C#
public DiagramEditableRotateSettingsBuilder<TShapeModel, TConnectionModel> Fill(Action<DiagramEditableRotateFillSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
Parameters:configuratorAction<DiagramEditableRotateFillSettingsBuilder<TShapeModel, TConnectionModel>>

The action that configures the fill.

Returns:

DiagramEditableRotateSettingsBuilder<TShapeModel, TConnectionModel>

Example:
C#
@(Html.Kendo().Diagram()
.Name("diagram")
.Editable(e =&gt; e.Rotate(r =&gt; r.Fill(f =&gt; f.Color("green").Opacity(0.5))))
)

Specifies the stroke settings of the rotation thumb.

C#
public DiagramEditableRotateSettingsBuilder<TShapeModel, TConnectionModel> Stroke(Action<DiagramEditableRotateStrokeSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
Parameters:configuratorAction<DiagramEditableRotateStrokeSettingsBuilder<TShapeModel, TConnectionModel>>

The action that configures the stroke.

Returns:

DiagramEditableRotateSettingsBuilder<TShapeModel, TConnectionModel>

Example:
C#
@(Html.Kendo().Diagram()
.Name("diagram")
.Editable(e =&gt; e.Rotate(r =&gt; r.Stroke(s =&gt; s.Color("blue").Width(5))))
)