ShinobiControls Xamarin Bindings Documentation

ShinobiForms : Shinobi.Forms Namespace

SFormPickerField Class

Represents the underlying model for a picker field.

Syntax

[Foundation.Register("SFormPickerField", true)]
public class SFormPickerField : SFormField

Remarks

The `value` property of this class is an `NSArray` containing the indicies (represented as an `NSNumber`) of the selected components in the picker. There can be multiple incidies because a picker can have multiple columns. This class is compatible with validators that conform to `SFormPickerFieldValidator`.

Requirements

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

Members

See Also: Inherited members from SFormField.

Public Constructors

Default constructor.
Create a field with the given title.
Documentation for this section has not yet been entered.

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 SFormField.)
[read-only]
CurrentlyFailingValidators ISFormInvalidMessageProvider[]. The currently failing validators on the field. (Inherited from SFormField.)
[read-only]
IsValid bool . Whether the field is currently valid. (Inherited from SFormField.)
Options Foundation.NSObject[][]. An `NSArray` of `NSArray`s that contain the options for a picker.
Required bool . Whether this field is required. (Inherited from SFormField.)
Title string . The title of this field. (Inherited from SFormField.)
Validators ISFormPickerFieldValidator[]. Documentation for this section has not yet been entered.
Validators Foundation.NSObject[]. An array of validators to be ran when `value` is updated. (Inherited from SFormField.)
Value Foundation.NSNumber[]. The current value of the field.
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 SFormField.)

Member Details

SFormPickerField Constructor

Default constructor.

Syntax

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

Remarks

Requirements

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

SFormPickerField Constructor

Documentation for this section has not yet been entered.

Syntax

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

SFormPickerField Constructor

A constructor used when creating managed representations of unmanaged objects.

Syntax

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

SFormPickerField Constructor

Create a field with the given title.

Syntax

[Foundation.Export("initWithTitle:")]
public SFormPickerField (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

SFormPickerField Constructor

Documentation for this section has not yet been entered.

Syntax

[Foundation.Export("initWithTitle:options:")]
public SFormPickerField (string title, Foundation.NSObject[][] options)

Parameters

title
Documentation for this section has not yet been entered.
options
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

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

Options Property

An `NSArray` of `NSArray`s that contain the options for a picker.

Syntax

[get: Foundation.Export("options")]
[set: Foundation.Export("setOptions:")]
public virtual Foundation.NSObject[][] Options { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Each `NSArray` inside of the 'options' array should contain values to be displayed in the picker. These values can be either a `String`, or a `NSNumber`.

Requirements

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

Validators Property

Documentation for this section has not yet been entered.

Syntax

[get: Foundation.Export("validators")]
[set: Foundation.Export("setValidators:")]
public virtual ISFormPickerFieldValidator[] Validators { get; set; }

Value

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

Value Property

The current value of the field.

Syntax

[get: Foundation.Export("value")]
[set: Foundation.Export("setValue:")]
public virtual Foundation.NSNumber[] Value { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

This is an array of `NSNumber` objects representing the index of each picker.

Requirements

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