Class LinearGaugeContainerBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
LinearGaugeContainerBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.EJ2.LinearGauge
Assembly: Syncfusion.AspNetMvc.LinearGauge.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
| Type |
|---|
| LinearGaugeContainerBuilder |
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
| Type |
|---|
| LinearGaugeContainerBuilder |
Border(Action<LinearGaugeBorderBuilder>)
Declaration
public LinearGaugeContainerBuilder Border(Action<LinearGaugeBorderBuilder> border)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<LinearGaugeBorderBuilder> | border |
Returns
| Type |
|---|
| LinearGaugeContainerBuilder |
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
| Type |
|---|
| LinearGaugeContainerBuilder |
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
| Type |
|---|
| LinearGaugeContainerBuilder |
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 |
|---|
| LinearGaugeContainerBuilder |
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
| Type |
|---|
| LinearGaugeContainerBuilder |
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 |
Returns
| Type |
|---|
| LinearGaugeContainerBuilder |