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

Defines the fluent API for configuring the DiagramShapeDefaultsContentRelativePaddingSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

TShapeModel

TConnectionModel

Syntax:

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

Inheritance: objectDiagramShapeDefaultsContentRelativePaddingSettingsBuilder<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 DiagramShapeDefaultsContentRelativePaddingSettingsBuilder<TShapeModel, TConnectionModel>

C#
public DiagramShapeDefaultsContentRelativePaddingSettingsBuilder(DiagramShapeDefaultsContentRelativePaddingSettings settings)
Parameters:settingsDiagramShapeDefaultsContentRelativePaddingSettings

The DiagramShapeDefaultsContentRelativePaddingSettings

Methods

The relative bottom padding of the shape content.

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

The value that configures the bottom.

Returns:

DiagramShapeDefaultsContentRelativePaddingSettingsBuilder<TShapeModel, TConnectionModel>

The relative left padding of the shape content.

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

The value that configures the left.

Returns:

DiagramShapeDefaultsContentRelativePaddingSettingsBuilder<TShapeModel, TConnectionModel>

The relative right padding of the shape content.

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

The value that configures the right.

Returns:

DiagramShapeDefaultsContentRelativePaddingSettingsBuilder<TShapeModel, TConnectionModel>

The relative top padding of the shape content.

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

The value that configures the top.

Returns:

DiagramShapeDefaultsContentRelativePaddingSettingsBuilder<TShapeModel, TConnectionModel>