ShinobiControls Xamarin Bindings Documentation

ShinobiGauges : Shinobi.Gauges Namespace

SGaugeNeedle Class

The needle of the gauge, used to indicate the current value.

Syntax

[Foundation.Model]
[Foundation.Protocol]
[Foundation.Register("SGaugeNeedle", true)]
public class SGaugeNeedle : UIKit.UIView, ISGaugeNeedle, IDisposable

Remarks

The needle sets a custom anchor point, to allow it to rotate around the end of the needle, as opposed to the center. If creating a custom needle, the SGaugeNeedle.Layer.AnchorPoint will need updating, to rotate around the correct point.

Requirements

Namespace: Shinobi.Gauges
Assembly: ShinobiGauges (in ShinobiGauges.dll)
Assembly Versions: 2.8.0.4

Members

See Also: Inherited members from UIKit.UIView.

Public Constructors

A constructor that initializes the object from the data stored in the unarchiver object.

Protected Constructors

Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects.

Public Methods

Redraw (nfloat)
Documentation for this section has not yet been entered.
Refresh (SGaugeStyle)
Redraws the needle with an updated style.

Extension Methods

static
Redraw (this ISGaugeNeedle, nfloat)
Documentation for this section has not yet been entered.
static
Refresh (this ISGaugeNeedle, SGaugeStyle)
Documentation for this section has not yet been entered.

Member Details

SGaugeNeedle Constructor

A constructor that initializes the object from the data stored in the unarchiver object.

Syntax

[Foundation.Export("initWithCoder:")]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
public SGaugeNeedle (Foundation.NSCoder coder)

Parameters

coder
The unarchiver object

Remarks

This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization).

Requirements

Namespace: Shinobi.Gauges
Assembly: ShinobiGauges (in ShinobiGauges.dll)
Assembly Versions: 2.8.0.4

SGaugeNeedle Constructor

Constructor to call on derived classes to skip initialization and merely allocate the object.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
protected SGaugeNeedle (Foundation.NSObjectFlag t)

Parameters

t
Unused sentinel value

Remarks

You should not invoke this method directly.

Requirements

Namespace: Shinobi.Gauges
Assembly: ShinobiGauges (in ShinobiGauges.dll)
Assembly Versions: 2.8.0.4

SGaugeNeedle Constructor

A constructor used when creating managed representations of unmanaged objects.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
protected SGaugeNeedle (IntPtr handle)

Parameters

handle
Handle of the unmanaged object

Remarks

You should not invoke this method directly.

Requirements

Namespace: Shinobi.Gauges
Assembly: ShinobiGauges (in ShinobiGauges.dll)
Assembly Versions: 2.8.0.4

Redraw Method

Documentation for this section has not yet been entered.

Syntax

[Foundation.Export("redrawWithValue:")]
public virtual void Redraw (nfloat value)

Parameters

value
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Shinobi.Gauges
Assembly: ShinobiGauges (in ShinobiGauges.dll)
Assembly Versions: 2.8.0.4

Refresh Method

Redraws the needle with an updated style.

Syntax

[Foundation.Export("refreshWithStyle:")]
public virtual void Refresh (SGaugeStyle style)

Parameters

style
Documentation for this section has not yet been entered.

Remarks

Requirements

Namespace: Shinobi.Gauges
Assembly: ShinobiGauges (in ShinobiGauges.dll)
Assembly Versions: 2.8.0.4