Class RangePointer
Represents range pointer. To render this pointer, create an instance of RangePointer class, and set required properties.
Inherited Members
Namespace: Syncfusion.SfGauge.XForms
Assembly: Syncfusion.SfGauge.XForms.dll
Syntax
public class RangePointer : Pointer, IThemeElement
Constructors
RangePointer()
Initializes a new instance of the RangePointer class and Represents the RangePointer.
Declaration
public RangePointer()
Fields
EndOffsetProperty
Gets or sets the end offset value of the RangePointer. It customizes the end position of the range pointer. This is a bindable property.
Declaration
public static readonly BindableProperty EndOffsetProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
OffsetProperty
Gets or sets the offset value of the RangePointer. It customizes the position of the range pointer. This is a bindable property.
Declaration
public static readonly BindableProperty OffsetProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
RangeCapProperty
Gets or sets the range start value of the RangePointer. It customizes the range cap value for range pointer. This is a bindable property.
Declaration
public static readonly BindableProperty RangeCapProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
RangeStartProperty
Gets or sets the range start value of the RangePointer. It customize the range start value for range pointer. This is a bindable property.
Declaration
public static readonly BindableProperty RangeStartProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
StartOffsetProperty
Gets or sets the start offset value of the RangePointer. It customizes the start position of the range pointer. This is a bindable property.
Declaration
public static readonly BindableProperty StartOffsetProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
ThicknessProperty
Gets or sets the thickness property of the range pointer. It customizes the thickness for range pointer.
Declaration
public static readonly BindableProperty ThicknessProperty
Field Value
| Type |
|---|
| Xamarin.Forms.BindableProperty |
Properties
EndOffset
Gets or sets the end offset value of the RangePointer. It customizes the end position of the range pointer.
Declaration
public double EndOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double | This property takes the System.Single StartOffset. |
Examples
This sample shows how to set the RangeStart of the RangePointer.
void MyPage()
{
SfCircularGauge gauge = new SfCircularGauge();
Scale scale = new Scale();
RangePointer rangePointer = new RangePointer();
rangePointer.EndOffset = 0.97;
scale.Pointers.Add(rangePointer);
gauge.Scales.Add(scale);
}
Offset
Gets or sets the offset value of the RangePointer. This customizes the position of the range pointer.
Declaration
public double Offset { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double | This property takes the System.Double value. |
Examples
This sample shows how to set the Offset of the RangePointer.
void MyPage()
{
SfCircularGauge gauge = new SfCircularGauge();
Scale scale = new Scale();
RangePointer rangePointer = new RangePointer();
rangePointer.Offset = 0.1;
scale.Pointers.Add(rangePointer);
gauge.Scales.Add(scale);
}
RangeCap
Gets or sets the pointer RangeCap of the range pointer. It customizes the range cap value for range pointer.
Declaration
public RangeCap RangeCap { get; set; }
Property Value
| Type |
|---|
| RangeCap |
RangeStart
Gets or sets the range start value of the RangePointer. It customizes the range start value for range pointer.
Declaration
public double RangeStart { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double | This property takes the System.Double value. |
Examples
This sample shows how to set the RangeStart of the RangePointer.
void MyPage()
{
SfCircularGauge gauge = new SfCircularGauge();
Scale scale = new Scale();
RangePointer rangePointer = new RangePointer();
rangePointer.RangeStart = 10;
scale.Pointers.Add(rangePointer);
gauge.Scales.Add(scale);
}
StartOffset
Gets or sets the start offset value of the RangePointer. It customizes the start position of the range pointer. This is a bindable property.
Declaration
public double StartOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double | This property takes the System.Single StartOffset. |
Examples
This sample shows how to set the RangeStart of the RangePointer.
void MyPage()
{
SfCircularGauge gauge = new SfCircularGauge();
Scale scale = new Scale();
RangePointer rangePointer = new RangePointer();
rangePointer.StartOffset = 1;
scale.Pointers.Add(rangePointer);
gauge.Scales.Add(scale);
}
Thickness
Gets or sets the thickness of the pointer. It customizes the thickness of range pointer. This is a bindable property.
Declaration
public double Thickness { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double | This property takes the System.Double value. |
Examples
This sample shows how to set the Offset of the pointer.
void MyPage()
{
SfCircularGauge gauge = new SfCircularGauge();
Scale scale = new Scale();
RangePointer rangePointer = new RangePointer();
rangePointer.Thickness = 10;
scale.Pointers.Add(rangePointer);
gauge.Scales.Add(scale);
}