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

Defines the fluent API for configuring the DiagramShapeContentPaddingSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

TShapeModel

TConnectionModel

Syntax:

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

Inheritance: objectDiagramShapeContentPaddingSettingsBuilder<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 DiagramShapeContentPaddingSettingsBuilder<TShapeModel, TConnectionModel>

C#
public DiagramShapeContentPaddingSettingsBuilder(DiagramShapeContentPaddingSettings settings)
Parameters:settingsDiagramShapeContentPaddingSettings

The DiagramShapeContentPaddingSettings

Methods

The bottom padding of the content.

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

The value that configures the bottom.

Returns:

DiagramShapeContentPaddingSettingsBuilder<TShapeModel, TConnectionModel>

The left padding of the content.

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

The value that configures the left.

Returns:

DiagramShapeContentPaddingSettingsBuilder<TShapeModel, TConnectionModel>

The right padding of the content.

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

The value that configures the right.

Returns:

DiagramShapeContentPaddingSettingsBuilder<TShapeModel, TConnectionModel>

The top padding of the content.

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

The value that configures the top.

Returns:

DiagramShapeContentPaddingSettingsBuilder<TShapeModel, TConnectionModel>