Class LinearGaugeLinearGradientBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.EJ2.LinearGauge
Assembly: Syncfusion.EJ2.dll
Syntax
public class LinearGaugeLinearGradientBuilder : ControlBuilder
Constructors
LinearGaugeLinearGradientBuilder()
Declaration
public LinearGaugeLinearGradientBuilder()
LinearGaugeLinearGradientBuilder(LinearGaugeLinearGradient)
Declaration
public LinearGaugeLinearGradientBuilder(LinearGaugeLinearGradient model)
Parameters
Type | Name | Description |
---|---|---|
LinearGaugeLinearGradient | model |
Methods
ColorStop(Action<LinearGaugeColorStopBuilder>)
Declaration
public LinearGaugeLinearGradientBuilder ColorStop(Action<LinearGaugeColorStopBuilder> colorStop)
Parameters
Type | Name | Description |
---|---|---|
System.Action<LinearGaugeColorStopBuilder> | colorStop |
Returns
Type | Description |
---|---|
LinearGaugeLinearGradientBuilder |
ColorStop(List<LinearGaugeColorStop>)
Specifies the color, opacity, offset and style of the linear gradient.
Declaration
public LinearGaugeLinearGradientBuilder ColorStop(List<LinearGaugeColorStop> value)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<LinearGaugeColorStop> | value |
Returns
Type | Description |
---|---|
LinearGaugeLinearGradientBuilder |
EndValue(String)
Specifies the end value of the linear gradient.
Declaration
public LinearGaugeLinearGradientBuilder EndValue(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Type | Description |
---|---|
LinearGaugeLinearGradientBuilder |
StartValue(String)
Specifies the start value of the linear gradient.
Declaration
public LinearGaugeLinearGradientBuilder StartValue(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
Type | Description |
---|---|
LinearGaugeLinearGradientBuilder |