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

The fluent API for Fill Settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

TShapeModel

TConnectionModel

Syntax:

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

Inheritance: objectDiagramFillSettingsBuilder<TShapeModel, TConnectionModel>

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public DiagramFillSettingsBuilder(DiagramFillSettings settings)
Parameters:settingsDiagramFillSettings

Methods

Defines the fill color.

C#
public DiagramFillSettingsBuilder<TShapeModel, TConnectionModel> Color(string value)
Parameters:valuestring

The value that configures the color.

Returns:

DiagramFillSettingsBuilder<TShapeModel, TConnectionModel>

Defines the fill opacity.

C#
public DiagramFillSettingsBuilder<TShapeModel, TConnectionModel> Opacity(double value)
Parameters:valuedouble

The value that configures the opacity.

Returns:

DiagramFillSettingsBuilder<TShapeModel, TConnectionModel>