Class SfCircularGauge
Represents CircularGauge control
Inheritance
System.Object
SfCircularGauge
Namespace: Com.Syncfusion.Gauges.SfCircularGauge
Assembly: Syncfusion.SfGauge.Android.dll
Syntax
public class SfCircularGauge : FrameLayout
Remarks
Contains customizable CircularScale and Headers
Constructors
SfCircularGauge(Context)
Initializes a new instance of the SfCircularGauge class .
Declaration
public SfCircularGauge(Context context)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | context | To get the Context. |
SfCircularGauge(Context, IAttributeSet)
Initializes a new instance of the SfCircularGauge class .
Declaration
public SfCircularGauge(Context context, IAttributeSet attrs)
Parameters
Type | Name | Description |
---|---|---|
Android.Content.Context | context | To get the Context. |
Android.Util.IAttributeSet | attrs | To get the Attributes. |
Properties
Annotations
Gets or sets the collection of annotations.
Declaration
public CircularGaugeAnnotationCollection Annotations { get; set; }
Property Value
Type |
---|
CircularGaugeAnnotationCollection |
CircularCoefficient
Gets or sets the radius of the scale
Declaration
public float CircularCoefficient { get; set; }
Property Value
Type |
---|
System.Single |
CircularScales
Gets or sets the collection of CircularScales
Declaration
public ObservableCollection<CircularScale> CircularScales { get; set; }
Property Value
Type |
---|
System.Collections.ObjectModel.ObservableCollection<CircularScale> |
FrameBackgroundColor
Gets or sets the frame's background color
Declaration
protected int FrameBackgroundColor { get; set; }
Property Value
Type |
---|
System.Int32 |
GaugeType
Gets or sets the frame type
Declaration
public GaugeType GaugeType { get; set; }
Property Value
Type |
---|
GaugeType |
Headers
Gets or sets the collection for Gauge Headers
Declaration
public ObservableCollection<Header> Headers { get; set; }
Property Value
Type |
---|
System.Collections.ObjectModel.ObservableCollection<Header> |
IsCenterAligned
Gets or sets a value indicating whether the gauge position to be aligned in center or not
Declaration
public bool IsCenterAligned { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
Dispose(Boolean)
To dispose the objects.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | To get the disposing. |
OnSizeChanged(Int32, Int32, Int32, Int32)
To change the size.
Declaration
protected override void OnSizeChanged(int w, int h, int oldw, int oldh)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | w | |
System.Int32 | h | |
System.Int32 | oldw | |
System.Int32 | oldh |
OnTouchEvent(MotionEvent)
To get the touch point.
Declaration
public override bool OnTouchEvent(MotionEvent e)
Parameters
Type | Name | Description |
---|---|---|
Android.Views.MotionEvent | e | To get the event. |
Returns
Type |
---|
System.Boolean |
RefreshGauge()
To refresh the Gauge.
Declaration
public void RefreshGauge()