ShinobiControls Xamarin Bindings Documentation

ShinobiForms : Shinobi.Forms Namespace

SFormDateFieldView Class

A view that allows the user to input dates via a date picker.

Syntax

[Foundation.Register("SFormDateFieldView", true)]
public class SFormDateFieldView : SFormTextPresenterFieldView

Remarks

This view uses a `UITextField` as the `inputElement` to display the underlying `model`. It also uses a `UIDatePicker` as the `inputElement`'s `inputView` to allow the user to input dates.

Requirements

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

Members

See Also: Inherited members from SFormTextPresenterFieldView.

Public Constructors

Default constructor.
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 SFormTextPresenterFieldView.)
[read-only]
override
ClassHandle IntPtr . The handle for this class. (Inherited from SFormFieldView.)
Converter ISFormFieldModelViewConverter . The converter used to ensure the correct format and object types are used when values are passed from `model` to this view and vice versa. (Inherited from SFormFieldView.)
[read-only]
DatePicker UIKit.UIDatePicker . A `UIDatePicker` instance presented as the `inputView` for the field's `inputElement`.
DefaultErrorLabelFont UIKit.UIFont . The font that is applied to `errorLabel` when this field view enters its default state. (Inherited from SFormFieldView.)
DefaultErrorLabelTextColor UIKit.UIColor . The text color that is applied to `errorLabel` when this field view enters its default state. (Inherited from SFormFieldView.)
DefaultInputElementBackgroundColor UIKit.UIColor . The background color that is applied to `inputElement` when this field view enters its default state. (Inherited from SFormFieldView.)
DefaultInputElementBorderColor UIKit.UIColor . The border color that is applied to `inputElement` when this field view enters its default state. (Inherited from SFormFieldView.)
DefaultInputElementBorderWidth nfloat . The border width that is applied to `inputElement` when this field view enters its default state. (Inherited from SFormFieldView.)
DefaultInputElementCornerRadius nfloat . The corner radius that is applied to `inputElement` when this field view enters its default state. (Inherited from SFormFieldView.)
DefaultInputElementFont UIKit.UIFont . The font that is applied to `inputElement` when this field view enters its default state. (Inherited from SFormTextPresenterFieldView.)
DefaultInputElementTextColor UIKit.UIColor . The text color that is applied to `inputElement` when this field view enters its default state. (Inherited from SFormTextPresenterFieldView.)
DefaultInputElementTintColor UIKit.UIColor . The tint color that is applied to `inputElement` when this field view enters its default state. (Inherited from SFormFieldView.)
DefaultLabelFont UIKit.UIFont . The font that is applied to `label` when this field view enters its default state. (Inherited from SFormFieldView.)
DefaultLabelTextColor UIKit.UIColor . The text color that is applied to `label` when this field view enters its default state. (Inherited from SFormFieldView.)
DefaultRequiredLabelFont UIKit.UIFont . The font that is applied to `requiredLabel` when this field view enters its default state. (Inherited from SFormFieldView.)
DefaultRequiredLabelTextColor UIKit.UIColor . The text color that is applied to `requiredLabel` when this field view enters its default state. (Inherited from SFormFieldView.)
DisabledInputElementBackgroundColor UIKit.UIColor . The background color that is applied to `inputElement` when this field view enters its disabled state. (Inherited from SFormFieldView.)
Enabled bool . Whether this view is enabled for input entry. (Inherited from SFormFieldView.)
ErrorLabel UIKit.UILabel . A label showing validation error messages. (Inherited from SFormFieldView.)
FocusedInputElementBorderColor UIKit.UIColor . The border color that is applied to `inputElement` when this field view enters its focused state. (Inherited from SFormFieldView.)
InputElement UIKit.UITextField . The input element responsible for text entry. (Inherited from SFormTextPresenterFieldView.)
InputElement UIKit.UIView . The view used for data entry. (Inherited from SFormFieldView.)
InvalidInputElementBorderColor UIKit.UIColor . The border color that is applied to `inputElement` when this field view enters its invalid state. (Inherited from SFormFieldView.)
InvalidInputElementBorderWidth nfloat . The border width that is applied to `inputElement` when this field view enters its invalid state. (Inherited from SFormFieldView.)
Label UIKit.UILabel . The field's title label. (Inherited from SFormFieldView.)
Layout ISFormFieldLayout . The layout object used by this field. (Inherited from SFormFieldView.)
Model SFormDateField . The date field model being presented.
Model SFormField . The model being presented. (Inherited from SFormFieldView.)
RequiredLabel UIKit.UILabel . A label indicating that the field is a required field. (Inherited from SFormFieldView.)
ValidInputElementBorderColor UIKit.UIColor . The border color that is applied to `inputElement` when this field view enters its valid state. (Inherited from SFormFieldView.)
ValidInputElementBorderWidth nfloat . The border width that is applied to `inputElement` when this field view enters its valid state. (Inherited from SFormFieldView.)

Public Methods

AddResponderMethodsToInputElement (UIKit.UIView)
Documentation for this section has not yet been entered. (Inherited from SFormFieldView.)
DidBeginEditingInputElement (Foundation.NSObject)
Documentation for this section has not yet been entered. (Inherited from SFormFieldView.)
DidChangeValueForInputElement (Foundation.NSObject)
Documentation for this section has not yet been entered. (Inherited from SFormFieldView.)
DidEndEditingInputElement (Foundation.NSObject)
Documentation for this section has not yet been entered. (Inherited from SFormFieldView.)
RemoveResponderMethodsFromInputElement (UIKit.UIView)
Documentation for this section has not yet been entered. (Inherited from SFormFieldView.)
UpdateAsDefault ()
Style the field in it's default look. (Inherited from SFormFieldView.)
UpdateAsDisabled ()
Style the field in it's disabled look. (Inherited from SFormFieldView.)
UpdateAsFocused ()
Style the field in it's focused look. (Inherited from SFormFieldView.)
UpdateAsInvalid ()
Style the field in it's invalid look. (Inherited from SFormFieldView.)
UpdateAsValid ()
Style the field in it's valid look. (Inherited from SFormFieldView.)
UpdateInputElementFromInputView ()
Updates `inputElement`'s displayed value to match that of its `inputView`'s current state. (Inherited from SFormFieldView.)
UpdateModel ()
Updates `model` with the current contents of this view. (Inherited from SFormFieldView.)

Protected Methods

override
Dispose (bool)
Releases unmanaged resources.
override
Dispose (bool)
Releases unmanaged resources. (Inherited from SFormTextPresenterFieldView.)
override
Dispose (bool)
Releases unmanaged resources. (Inherited from SFormFieldView.)

Member Details

SFormDateFieldView Constructor

Default constructor.

Syntax

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

Remarks

Requirements

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

SFormDateFieldView Constructor

Documentation for this section has not yet been entered.

Syntax

[Foundation.Export("initWithCoder:")]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
public SFormDateFieldView (Foundation.NSCoder coder)

Parameters

coder
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

SFormDateFieldView Constructor

Documentation for this section has not yet been entered.

Syntax

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

SFormDateFieldView Constructor

A constructor used when creating managed representations of unmanaged objects.

Syntax

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

DatePicker Property

A `UIDatePicker` instance presented as the `inputView` for the field's `inputElement`.

Syntax

[get: Foundation.Export("datePicker")]
public virtual UIKit.UIDatePicker DatePicker { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Presentation of this date picker occurs when this field view becomes first responder (i.e. a user taps in the `inputElement`).

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

Model Property

The date field model being presented.

Syntax

[get: Foundation.Export("model")]
[set: Foundation.Export("setModel:")]
public virtual SFormDateField Model { 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