ShinobiControls Xamarin Bindings Documentation

ShinobiForms : Shinobi.Forms Namespace

SFormNumberFieldConverter Class

A converter that converts values between `SFormTextFieldView` view object and an `SFormNumberField` model object.

Syntax

[Foundation.Register("SFormNumberFieldConverter", true)]
public class SFormNumberFieldConverter : Foundation.NSObject, ISFormFieldModelViewConverter, IDisposable

Remarks

Behavior: Converts the field model value to an `String` representation so that a field view can display it in its input element. Converts the field view value to an `String representation so that it can be set on an `SFormNumberField` instance. Conversion in both directions strips out non numeric characters and adds grouping seperators.

Requirements

Namespace: Shinobi.Forms
Assembly: ShinobiForms (in ShinobiForms.dll)
Assembly Versions: 1.0.0.4

Members

See Also: Inherited members from Foundation.NSObject.

Public Constructors

Default constructor.

Protected Constructors

Documentation for this section has not yet been entered.
A constructor used when creating managed representations of unmanaged objects.

Public Properties

[read-only]
override
ClassHandle IntPtr . The handle for this class.
DecimalSeperator string . The decimal seperator used to format the numeric string.
GroupingSeperator string . The grouping seperator used to format the numeric string.
NegativeSymbol string . The negative symbol used to indicate negative numbers.

Public Methods

ModelValue (SFormFieldView) : Foundation.NSObject
Documentation for this section has not yet been entered.
ViewValue (SFormField) : Foundation.NSObject
Documentation for this section has not yet been entered.

Member Details

SFormNumberFieldConverter Constructor

Default constructor.

Syntax

[Foundation.Export("init")]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
public SFormNumberFieldConverter ()

Remarks

Requirements

Namespace: Shinobi.Forms
Assembly: ShinobiForms (in ShinobiForms.dll)
Assembly Versions: 1.0.0.4

SFormNumberFieldConverter Constructor

Documentation for this section has not yet been entered.

Syntax

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

Parameters

t
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Shinobi.Forms
Assembly: ShinobiForms (in ShinobiForms.dll)
Assembly Versions: 1.0.0.4

SFormNumberFieldConverter Constructor

A constructor used when creating managed representations of unmanaged objects.

Syntax

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

Parameters

handle
Handle of the unmanaged object

Remarks

You should not invoke this method directly.

Requirements

Namespace: Shinobi.Forms
Assembly: ShinobiForms (in ShinobiForms.dll)
Assembly Versions: 1.0.0.4

ClassHandle Property

The handle for this class.

Syntax

public override IntPtr ClassHandle { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Requirements

Namespace: Shinobi.Forms
Assembly: ShinobiForms (in ShinobiForms.dll)
Assembly Versions: 1.0.0.4

DecimalSeperator Property

The decimal seperator used to format the numeric string.

Syntax

[get: Foundation.Export("decimalSeperator")]
[set: Foundation.Export("setDecimalSeperator:")]
public virtual string DecimalSeperator { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Requirements

Namespace: Shinobi.Forms
Assembly: ShinobiForms (in ShinobiForms.dll)
Assembly Versions: 1.0.0.4

GroupingSeperator Property

The grouping seperator used to format the numeric string.

Syntax

[get: Foundation.Export("groupingSeperator")]
[set: Foundation.Export("setGroupingSeperator:")]
public virtual string GroupingSeperator { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Requirements

Namespace: Shinobi.Forms
Assembly: ShinobiForms (in ShinobiForms.dll)
Assembly Versions: 1.0.0.4

ModelValue Method

Documentation for this section has not yet been entered.

Syntax

[Foundation.Export("modelValueFromView:")]
public virtual Foundation.NSObject ModelValue (SFormFieldView fieldView)

Parameters

fieldView
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Shinobi.Forms
Assembly: ShinobiForms (in ShinobiForms.dll)
Assembly Versions: 1.0.0.4

NegativeSymbol Property

The negative symbol used to indicate negative numbers.

Syntax

[get: Foundation.Export("negativeSymbol")]
[set: Foundation.Export("setNegativeSymbol:")]
public virtual string NegativeSymbol { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

This will be shown at the beginning of the number.

Requirements

Namespace: Shinobi.Forms
Assembly: ShinobiForms (in ShinobiForms.dll)
Assembly Versions: 1.0.0.4

ViewValue Method

Documentation for this section has not yet been entered.

Syntax

[Foundation.Export("viewValueFromModel:")]
public virtual Foundation.NSObject ViewValue (SFormField fieldModel)

Parameters

fieldModel
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Shinobi.Forms
Assembly: ShinobiForms (in ShinobiForms.dll)
Assembly Versions: 1.0.0.4