ShinobiControls Xamarin Bindings Documentation

ShinobiForms : Shinobi.Forms Namespace

SFormNumberField Class

A field for numeric entry.

Syntax

[Foundation.Register("SFormNumberField", true)]
public class SFormNumberField : SFormTextField

Remarks

Requirements

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

Members

See Also: Inherited members from SFormTextField.

Public Constructors

Default constructor.
Create a field with the given title.

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.
[read-only]
override
ClassHandle IntPtr . The handle for this class. (Inherited from SFormTextField.)
[read-only]
override
ClassHandle IntPtr . The handle for this class. (Inherited from SFormField.)
[read-only]
CurrentlyFailingValidators ISFormInvalidMessageProvider[]. The currently failing validators on the field. (Inherited from SFormField.)
Formatter Foundation.NSNumberFormatter . The number formatter responsible from converting `value` to `numberValue`.
[read-only]
IsValid bool . Whether the field is currently valid. (Inherited from SFormField.)
NumberValue Foundation.NSNumber . The value of the text field as a number.
Required bool . Whether this field is required. (Inherited from SFormField.)
Title string . The title of this field. (Inherited from SFormField.)
Validators ISFormTextFieldValidator[]. Documentation for this section has not yet been entered. (Inherited from SFormTextField.)
Validators Foundation.NSObject[]. An array of validators to be ran when `value` is updated. (Inherited from SFormField.)
Value string . The current value of the field. (Inherited from SFormTextField.)
Value Foundation.NSObject . The current value of the field. (Inherited from SFormField.)

Protected Methods

override
Dispose (bool)
Releases unmanaged resources.
override
Dispose (bool)
Releases unmanaged resources. (Inherited from SFormTextField.)
override
Dispose (bool)
Releases unmanaged resources. (Inherited from SFormField.)

Member Details

SFormNumberField Constructor

Default constructor.

Syntax

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

Remarks

Requirements

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

SFormNumberField Constructor

Documentation for this section has not yet been entered.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
protected SFormNumberField (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

SFormNumberField Constructor

A constructor used when creating managed representations of unmanaged objects.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
protected SFormNumberField (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

SFormNumberField Constructor

Create a field with the given title.

Syntax

[Foundation.Export("initWithTitle:")]
public SFormNumberField (string title)

Parameters

title
The field's title.

Remarks

This is the designated initializer.

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

Dispose Method

Releases unmanaged resources.

Syntax

protected override void Dispose (bool disposing)

Parameters

disposing
True if called by Dispose, false if called from a finalizer

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

Formatter Property

The number formatter responsible from converting `value` to `numberValue`.

Syntax

[get: Foundation.Export("formatter")]
[set: Foundation.Export("setFormatter:")]
public virtual Foundation.NSNumberFormatter Formatter { 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

NumberValue Property

The value of the text field as a number.

Syntax

[get: Foundation.Export("numberValue")]
[set: Foundation.Export("setNumberValue:")]
public virtual Foundation.NSNumber NumberValue { 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