Class LinearGaugeContainerBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
LinearGaugeContainerBuilder
Namespace: Syncfusion.EJ2.LinearGauge
Assembly: Syncfusion.EJ2.dll
Syntax
public class LinearGaugeContainerBuilder : ControlBuilder
Constructors
LinearGaugeContainerBuilder()
Declaration
public LinearGaugeContainerBuilder()
LinearGaugeContainerBuilder(LinearGaugeContainer)
Declaration
public LinearGaugeContainerBuilder(LinearGaugeContainer model)
Parameters
Type | Name | Description |
---|---|---|
LinearGaugeContainer | model |
Methods
BackgroundColor(String)
Sets and gets the background color of the container in linear gauge.
Declaration
public LinearGaugeContainerBuilder BackgroundColor(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Border(LinearGaugeBorder)
Sets and gets the options to customize the border of container.
Declaration
public LinearGaugeContainerBuilder Border(LinearGaugeBorder value)
Parameters
Type | Name | Description |
---|---|---|
LinearGaugeBorder | value |
Returns
Border(Action<LinearGaugeBorderBuilder>)
Declaration
public LinearGaugeContainerBuilder Border(Action<LinearGaugeBorderBuilder> border)
Parameters
Type | Name | Description |
---|---|---|
System.Action<LinearGaugeBorderBuilder> | border |
Returns
Height(Double)
Sets and gets the height of the container in linear gauge.
Declaration
public LinearGaugeContainerBuilder Height(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value |
Returns
Offset(Double)
Sets and gets the offset value from where the container must be placed in the linear gauge.
Declaration
public LinearGaugeContainerBuilder Offset(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value |
Returns
RoundedCornerRadius(Double)
Sets and gets the corner radius for the rounded rectangle container in linear gauge.
Declaration
public LinearGaugeContainerBuilder RoundedCornerRadius(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value |
Returns
Type(ContainerType)
Sets and gets the type of container in linear gauge.
Declaration
public LinearGaugeContainerBuilder Type(ContainerType value)
Parameters
Type | Name | Description |
---|---|---|
ContainerType | value |
Returns
Width(Double)
Sets and gets the width of the container in linear gauge.
Declaration
public LinearGaugeContainerBuilder Width(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value |