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

Defines the fluent API for configuring the DiagramShapeCenterSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

TShapeModel

TConnectionModel

Syntax:

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

Inheritance: objectDiagramShapeCenterSettingsBuilder<TShapeModel, TConnectionModel>

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

Constructors

Initialize the DiagramShapeCenterSettingsBuilder<TShapeModel, TConnectionModel>

C#
public DiagramShapeCenterSettingsBuilder(DiagramShapeCenterSettings settings)
Parameters:settingsDiagramShapeCenterSettings

The DiagramShapeCenterSettings

Methods

The x-coordinate of the shape center.

C#
public DiagramShapeCenterSettingsBuilder<TShapeModel, TConnectionModel> X(double value)
Parameters:valuedouble

The value that configures the x.

Returns:

DiagramShapeCenterSettingsBuilder<TShapeModel, TConnectionModel>

The y-coordinate of the shape center.

C#
public DiagramShapeCenterSettingsBuilder<TShapeModel, TConnectionModel> Y(double value)
Parameters:valuedouble

The value that configures the y.

Returns:

DiagramShapeCenterSettingsBuilder<TShapeModel, TConnectionModel>