Class LinearRange
Inheritance
System.Object
LinearRange
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.Windows.Forms.Gauge
Assembly: Syncfusion.Gauge.Windows.dll
Syntax
public class LinearRange
Constructors
LinearRange()
Declaration
public LinearRange()
LinearRange(Color, Single, Single, Int32, TickPlacement, Int32, Int32)
Affected GaugeRange
Declaration
public LinearRange(Color color, float startValue, float endValue, int height, TickPlacement rangePlacement, int startwidth, int endwidth)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Drawing.Color | color | |
| System.Single | startValue | |
| System.Single | endValue | |
| System.Int32 | height | |
| TickPlacement | rangePlacement | |
| System.Int32 | startwidth | |
| System.Int32 | endwidth |
Properties
Color
Gets or Sets the color of the Range.
Declaration
public Color Color { get; set; }
Property Value
| Type |
|---|
| System.Drawing.Color |
EndValue
Gets or Sets the end value of the Range.
Declaration
public float EndValue { get; set; }
Property Value
| Type |
|---|
| System.Single |
EndWidth
Gets or Sets the End width of the range
Declaration
public int EndWidth { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
Height
Gets or Sets the inner radius of the range
Declaration
public int Height { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
InRange
Gets or Sets the instance range name
Declaration
public bool InRange { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
Name
Gets or Sets the instance range name
Declaration
public string Name { get; set; }
Property Value
| Type |
|---|
| System.String |
RangePlacement
Gets or Sets the outer radius of the range
Declaration
public TickPlacement RangePlacement { get; set; }
Property Value
| Type |
|---|
| TickPlacement |
StartValue
Gets or Sets the start value of the Range.
Declaration
public float StartValue { get; set; }
Property Value
| Type |
|---|
| System.Single |
StartWidth
Gets or Sets the Start width of the range
Declaration
public int StartWidth { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
Methods
ResetEndWidth()
Resets to its default value
Declaration
protected void ResetEndWidth()
ResetStartValue()
Resets to its default value
Declaration
protected void ResetStartValue()
ResetStartWidth()
Resets to its default value
Declaration
protected void ResetStartWidth()
SetOwner(LinearGauge)
Specifies the owner of the Range
Declaration
public void SetOwner(LinearGauge value)
Parameters
| Type | Name | Description |
|---|---|---|
| LinearGauge | value |
ShouldSerializeEndWidth()
Serializes the EndWidth
Declaration
protected bool ShouldSerializeEndWidth()
Returns
| Type | Description |
|---|---|
| System.Boolean | True if Value is not 5 |
ShouldSerializeStartWidth()
Serializes the StartWidth
Declaration
protected bool ShouldSerializeStartWidth()
Returns
| Type | Description |
|---|---|
| System.Boolean | True if Value is not 5 |