ShinobiControls Xamarin Bindings Documentation

ShinobiForms : Shinobi.Forms Namespace

SFormDateFieldConverter Class

A converter that converts values between `SFormDateFieldView` view object and an `SFormDateField` model object.

Syntax

[Foundation.Register("SFormDateFieldConverter", true)]
public class SFormDateFieldConverter : 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 `NSDate` representation so that it can be set on an `SFormDateField` instance.

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.
Locale Foundation.NSLocale . The locale that the converter will use when converting the date to a string. Defaults to `[NSLocale currentLocale]`, which is the current device's locale.

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.

Protected Methods

override
Dispose (bool)
Releases unmanaged resources.

Member Details

SFormDateFieldConverter Constructor

Default constructor.

Syntax

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

Remarks

Requirements

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

SFormDateFieldConverter Constructor

Documentation for this section has not yet been entered.

Syntax

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

SFormDateFieldConverter Constructor

A constructor used when creating managed representations of unmanaged objects.

Syntax

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

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

Locale Property

The locale that the converter will use when converting the date to a string. Defaults to `[NSLocale currentLocale]`, which is the current device's locale.

Syntax

[get: Foundation.Export("locale")]
[set: Foundation.Export("setLocale:")]
public virtual Foundation.NSLocale Locale { 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

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