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

Defines the fluent API for configuring DiagramShapeCenterSettings

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

Initializes a new instance of the DiagramShapeCenterSettingsBuilder<TShapeModel, TConnectionModel> class.

C#
public DiagramShapeCenterSettingsBuilder(DiagramShapeCenterSettings<TShapeModel, TConnectionModel> container)
Parameters:containerDiagramShapeCenterSettings<TShapeModel, TConnectionModel>

Properties

Container

DiagramShapeCenterSettings<TShapeModel, TConnectionModel>

Alias for the DiagramShapeCenterSettings instance.

C#
protected DiagramShapeCenterSettings<TShapeModel, TConnectionModel> Container { get; }

Methods

The x-coordinate of the shape center.

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

The value for X

Returns:

DiagramShapeCenterSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramShapeCenterSettingsBuilder<TShapeModel, TConnectionModel> instance.

The y-coordinate of the shape center.

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

The value for Y

Returns:

DiagramShapeCenterSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramShapeCenterSettingsBuilder<TShapeModel, TConnectionModel> instance.