Class SFLinearGauge
Inheritance
System.Object
SFLinearGauge
Implements
System.ComponentModel.IComponent
System.IDisposable
Namespace: Syncfusion.SfGauge.iOS
Assembly: Syncfusion.SfGauge.iOS.dll
Syntax
public class SFLinearGauge : UIView, IComponent, IDisposable
Constructors
SFLinearGauge()
Declaration
public SFLinearGauge()
SFLinearGauge(CGRect)
Declaration
public SFLinearGauge(CGRect frame)
Parameters
| Type | Name | Description |
|---|---|---|
| CoreGraphics.CGRect | frame |
SFLinearGauge(IntPtr)
Initializes a new instance of the SFLinearGauge class.
Declaration
public SFLinearGauge(IntPtr handle)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IntPtr | handle | To get the handle. |
Properties
Annotations
Declaration
public SFLinearAnnotationCollection Annotations { get; set; }
Property Value
| Type |
|---|
| SFLinearAnnotationCollection |
Frame
Gets or sets the Frame of CircularPointer
Declaration
public override CGRect Frame { get; set; }
Property Value
| Type |
|---|
| CoreGraphics.CGRect |
Header
Gets or sets the collection of Headers
Declaration
public SFLinearLabel Header { get; set; }
Property Value
| Type |
|---|
| SFLinearLabel |
Orientation
Gets or sets the orientation of the Linear Gauge
Declaration
public SFLinearGaugeOrientation Orientation { get; set; }
Property Value
| Type |
|---|
| SFLinearGaugeOrientation |
Scales
Gets or sets the collection of Scales
Declaration
public ObservableCollection<SFLinearScale> Scales { get; set; }
Property Value
| Type |
|---|
| System.Collections.ObjectModel.ObservableCollection<SFLinearScale> |
Site
Gets or sets the site
Declaration
public ISite Site { get; set; }
Property Value
| Type |
|---|
| System.ComponentModel.ISite |
Methods
AwakeFromNib()
Method used for designer
Declaration
public override void AwakeFromNib()
Draw(CGRect)
Declaration
public override void Draw(CGRect rect)
Parameters
| Type | Name | Description |
|---|---|---|
| CoreGraphics.CGRect | rect |
LayoutSubviews()
Declaration
public override void LayoutSubviews()
MovedToSuperview()
Declaration
public override void MovedToSuperview()
SetValue(nfloat, Boolean, SFLinearPointer)
used to set values for pointer in LinearGauge
Declaration
public void SetValue(nfloat value, bool animated, SFLinearPointer pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| System.nfloat | value | To get the value |
| System.Boolean | animated | To get the animation |
| SFLinearPointer | pointer | To get the pointer |
SetValue(nfloat, Boolean, Int32)
used to set values for pointer in LinearGauge
Declaration
public void SetValue(nfloat value, bool animated, int pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| System.nfloat | value | To get the value |
| System.Boolean | animated | To get the animation |
| System.Int32 | pointer | To get the pointer |
TraitCollectionDidChange(UITraitCollection)
Called when the device is rotated.
Declaration
public override void TraitCollectionDidChange(UITraitCollection previousTraitCollection)
Parameters
| Type | Name | Description |
|---|---|---|
| UIKit.UITraitCollection | previousTraitCollection | The UITraitCollection . |
Events
Disposed
Gets or sets the dispose
Declaration
public event EventHandler Disposed
Event Type
| Type |
|---|
| System.EventHandler |
Implements
System.ComponentModel.IComponent
System.IDisposable