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

Defines the fluent API for configuring the DiagramShapeContentRelativePaddingSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

TShapeModel

TConnectionModel

Syntax:

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

Inheritance: objectDiagramShapeContentRelativePaddingSettingsBuilder<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 DiagramShapeContentRelativePaddingSettingsBuilder<TShapeModel, TConnectionModel>

C#
public DiagramShapeContentRelativePaddingSettingsBuilder(DiagramShapeContentRelativePaddingSettings settings)
Parameters:settingsDiagramShapeContentRelativePaddingSettings

The DiagramShapeContentRelativePaddingSettings

Methods

The bottom relative padding of the content as a percentage.

C#
public DiagramShapeContentRelativePaddingSettingsBuilder<TShapeModel, TConnectionModel> Bottom(double value)
Parameters:valuedouble

The value that configures the bottom.

Returns:

DiagramShapeContentRelativePaddingSettingsBuilder<TShapeModel, TConnectionModel>

The left relative padding of the content as a percentage.

C#
public DiagramShapeContentRelativePaddingSettingsBuilder<TShapeModel, TConnectionModel> Left(double value)
Parameters:valuedouble

The value that configures the left.

Returns:

DiagramShapeContentRelativePaddingSettingsBuilder<TShapeModel, TConnectionModel>

The right relative padding of the content as a percentage.

C#
public DiagramShapeContentRelativePaddingSettingsBuilder<TShapeModel, TConnectionModel> Right(double value)
Parameters:valuedouble

The value that configures the right.

Returns:

DiagramShapeContentRelativePaddingSettingsBuilder<TShapeModel, TConnectionModel>

The top relative padding of the content as a percentage.

C#
public DiagramShapeContentRelativePaddingSettingsBuilder<TShapeModel, TConnectionModel> Top(double value)
Parameters:valuedouble

The value that configures the top.

Returns:

DiagramShapeContentRelativePaddingSettingsBuilder<TShapeModel, TConnectionModel>