ShinobiControls Xamarin Bindings Documentation

ShinobiForms : Shinobi.Forms Namespace

SFormFieldModelViewConverter Class

Any object wishing to convert between `SFormField` objects and `SFormFieldView` objects should conform to this protocol.

Syntax

[Foundation.Model]
[Foundation.Protocol]
[Foundation.Register("SFormFieldModelViewConverter", true)]
public abstract class SFormFieldModelViewConverter : Foundation.NSObject, ISFormFieldModelViewConverter, IDisposable

Remarks

Requirements

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

Members

See Also: Inherited members from Foundation.NSObject.

Protected Constructors

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

Public Methods

abstract
ModelValue (SFormFieldView) : Foundation.NSObject
Responsible for pulling values from a field view and converting them to an appropriate format/type for a field model.
abstract
ViewValue (SFormField) : Foundation.NSObject
Responsible for pulling values from a field model and converting them to an appropriate format/type for a field view.

Member Details

SFormFieldModelViewConverter Constructor

Default constructor.

Syntax

[Foundation.Export("init")]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
protected SFormFieldModelViewConverter ()

Remarks

Requirements

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

SFormFieldModelViewConverter Constructor

Documentation for this section has not yet been entered.

Syntax

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

SFormFieldModelViewConverter Constructor

A constructor used when creating managed representations of unmanaged objects.

Syntax

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

ModelValue Method

Responsible for pulling values from a field view and converting them to an appropriate format/type for a field model.

Syntax

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

Parameters

fieldView
The field view that needs to have its value(s) converted.

Returns

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

ViewValue Method

Responsible for pulling values from a field model and converting them to an appropriate format/type for a field view.

Syntax

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

Parameters

fieldModel
The field model that needs to have its value(s) converted.

Returns

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