Defines the fluent API for configuring DiagramShapeContentRelativePaddingSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
public class DiagramShapeContentRelativePaddingSettingsBuilder<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramShapeContentRelativePaddingSettingsBuilder<TShapeModel, TConnectionModel>
Inherited Members
Constructors
Initializes a new instance of the DiagramShapeContentRelativePaddingSettingsBuilder<TShapeModel, TConnectionModel> class.
public DiagramShapeContentRelativePaddingSettingsBuilder(DiagramShapeContentRelativePaddingSettings<TShapeModel, TConnectionModel> container)
Properties
Container
DiagramShapeContentRelativePaddingSettings<TShapeModel, TConnectionModel>
Alias for the DiagramShapeContentRelativePaddingSettings instance.
protected DiagramShapeContentRelativePaddingSettings<TShapeModel, TConnectionModel> Container { get; }
Methods
The bottom relative padding of the content as a percentage.
public DiagramShapeContentRelativePaddingSettingsBuilder<TShapeModel, TConnectionModel> Bottom(double value)
The value for Bottom
Returns:DiagramShapeContentRelativePaddingSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeContentRelativePaddingSettingsBuilder<TShapeModel, TConnectionModel> instance.
The left relative padding of the content as a percentage.
public DiagramShapeContentRelativePaddingSettingsBuilder<TShapeModel, TConnectionModel> Left(double value)
The value for Left
Returns:DiagramShapeContentRelativePaddingSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeContentRelativePaddingSettingsBuilder<TShapeModel, TConnectionModel> instance.
The right relative padding of the content as a percentage.
public DiagramShapeContentRelativePaddingSettingsBuilder<TShapeModel, TConnectionModel> Right(double value)
The value for Right
Returns:DiagramShapeContentRelativePaddingSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeContentRelativePaddingSettingsBuilder<TShapeModel, TConnectionModel> instance.
The top relative padding of the content as a percentage.
public DiagramShapeContentRelativePaddingSettingsBuilder<TShapeModel, TConnectionModel> Top(double value)
The value for Top
Returns:DiagramShapeContentRelativePaddingSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeContentRelativePaddingSettingsBuilder<TShapeModel, TConnectionModel> instance.