ShinobiControls Xamarin Bindings Documentation

ShinobiForms : Shinobi.Forms Namespace

SFormFieldView Class

A view for data entry.

Syntax

[Foundation.Register("SFormFieldView", true)]
public abstract class SFormFieldView : UIKit.UIView, ISFormInputElementResponder, IDisposable

Remarks

`SFormField` is composed of the following subviews: - `label`: Synchronises to the `title` of its model. - `requiredLabel`: Is shown or hidden depending on the `required` value of its model. - `inputElement`: Synchronises to the `value` of it's model - `errorLabel`: Synchronises to the `invalidMessage` first failing validator of the model's `currentlyFailingValidators` array. Field can make use of different layouts - see `layout`. Available `SFormFieldView` subclasses are as follows: - `SFormTextFieldView`. - `SFormSegmentedFieldView`. - `SFormDateFieldView`. - `SFormSliderFieldView`. - `SFormPickerFieldView`. - `SFormSwitchFieldView`.

Requirements

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

Members

See Also: Inherited members from UIKit.UIView.

Protected Constructors

Default constructor.
Documentation for this section has not yet been entered.
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.
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.
DefaultErrorLabelFont UIKit.UIFont . The font that is applied to `errorLabel` when this field view enters its default state.
DefaultErrorLabelTextColor UIKit.UIColor . The text color that is applied to `errorLabel` when this field view enters its default state.
DefaultInputElementBackgroundColor UIKit.UIColor . The background color that is applied to `inputElement` when this field view enters its default state.
DefaultInputElementBorderColor UIKit.UIColor . The border color that is applied to `inputElement` when this field view enters its default state.
DefaultInputElementBorderWidth nfloat . The border width that is applied to `inputElement` when this field view enters its default state.
DefaultInputElementCornerRadius nfloat . The corner radius that is applied to `inputElement` when this field view enters its default state.
DefaultInputElementTintColor UIKit.UIColor . The tint color that is applied to `inputElement` when this field view enters its default state.
DefaultLabelFont UIKit.UIFont . The font that is applied to `label` when this field view enters its default state.
DefaultLabelTextColor UIKit.UIColor . The text color that is applied to `label` when this field view enters its default state.
DefaultRequiredLabelFont UIKit.UIFont . The font that is applied to `requiredLabel` when this field view enters its default state.
DefaultRequiredLabelTextColor UIKit.UIColor . The text color that is applied to `requiredLabel` when this field view enters its default state.
DisabledInputElementBackgroundColor UIKit.UIColor . The background color that is applied to `inputElement` when this field view enters its disabled state.
Enabled bool . Whether this view is enabled for input entry.
ErrorLabel UIKit.UILabel . A label showing validation error messages.
FocusedInputElementBorderColor UIKit.UIColor . The border color that is applied to `inputElement` when this field view enters its focused state.
InputElement UIKit.UIView . The view used for data entry.
InvalidInputElementBorderColor UIKit.UIColor . The border color that is applied to `inputElement` when this field view enters its invalid state.
InvalidInputElementBorderWidth nfloat . The border width that is applied to `inputElement` when this field view enters its invalid state.
Label UIKit.UILabel . The field's title label.
Layout ISFormFieldLayout . The layout object used by this field.
Model SFormField . The model being presented.
RequiredLabel UIKit.UILabel . A label indicating that the field is a required field.
ValidInputElementBorderColor UIKit.UIColor . The border color that is applied to `inputElement` when this field view enters its valid state.
ValidInputElementBorderWidth nfloat . The border width that is applied to `inputElement` when this field view enters its valid state.

Public Methods

AddResponderMethodsToInputElement (UIKit.UIView)
Documentation for this section has not yet been entered.
static
DefaultLayout () : ISFormFieldLayout
The default layout used the field when a layout isn't provided.
DidBeginEditingInputElement (Foundation.NSObject)
Documentation for this section has not yet been entered.
DidChangeValueForInputElement (Foundation.NSObject)
Documentation for this section has not yet been entered.
DidEndEditingInputElement (Foundation.NSObject)
Documentation for this section has not yet been entered.
RemoveResponderMethodsFromInputElement (UIKit.UIView)
Documentation for this section has not yet been entered.
UpdateAsDefault ()
Style the field in it's default look.
UpdateAsDisabled ()
Style the field in it's disabled look.
UpdateAsFocused ()
Style the field in it's focused look.
UpdateAsInvalid ()
Style the field in it's invalid look.
UpdateAsValid ()
Style the field in it's valid look.
UpdateInputElementFromInputView ()
Updates `inputElement`'s displayed value to match that of its `inputView`'s current state.
UpdateModel ()
Updates `model` with the current contents of this view.

Protected Methods

override
Dispose (bool)
Releases unmanaged resources.

Member Details

SFormFieldView Constructor

Default constructor.

Syntax

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

Remarks

Requirements

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

SFormFieldView Constructor

Documentation for this section has not yet been entered.

Syntax

[Foundation.Export("initWithCoder:")]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
protected SFormFieldView (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

SFormFieldView Constructor

Documentation for this section has not yet been entered.

Syntax

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

SFormFieldView Constructor

A constructor used when creating managed representations of unmanaged objects.

Syntax

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

AddResponderMethodsToInputElement Method

Documentation for this section has not yet been entered.

Syntax

[Foundation.Export("addResponderMethodsToInputElement:")]
public virtual void AddResponderMethodsToInputElement (UIKit.UIView inputElement)

Parameters

inputElement
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

Converter Property

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.

Syntax

[get: Foundation.Export("converter")]
[set: Foundation.Export("setConverter:")]
public virtual ISFormFieldModelViewConverter Converter { 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

DefaultErrorLabelFont Property

The font that is applied to `errorLabel` when this field view enters its default state.

Syntax

[get: Foundation.Export("defaultErrorLabelFont")]
[set: Foundation.Export("setDefaultErrorLabelFont:")]
public virtual UIKit.UIFont DefaultErrorLabelFont { 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

DefaultErrorLabelTextColor Property

The text color that is applied to `errorLabel` when this field view enters its default state.

Syntax

[get: Foundation.Export("defaultErrorLabelTextColor")]
[set: Foundation.Export("setDefaultErrorLabelTextColor:")]
public virtual UIKit.UIColor DefaultErrorLabelTextColor { 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

DefaultInputElementBackgroundColor Property

The background color that is applied to `inputElement` when this field view enters its default state.

Syntax

[get: Foundation.Export("defaultInputElementBackgroundColor")]
[set: Foundation.Export("setDefaultInputElementBackgroundColor:")]
public virtual UIKit.UIColor DefaultInputElementBackgroundColor { 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

DefaultInputElementBorderColor Property

The border color that is applied to `inputElement` when this field view enters its default state.

Syntax

[get: Foundation.Export("defaultInputElementBorderColor")]
[set: Foundation.Export("setDefaultInputElementBorderColor:")]
public virtual UIKit.UIColor DefaultInputElementBorderColor { 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

DefaultInputElementBorderWidth Property

The border width that is applied to `inputElement` when this field view enters its default state.

Syntax

[get: Foundation.Export("defaultInputElementBorderWidth", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)]
[set: Foundation.Export("setDefaultInputElementBorderWidth:", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)]
public virtual nfloat DefaultInputElementBorderWidth { 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

DefaultInputElementCornerRadius Property

The corner radius that is applied to `inputElement` when this field view enters its default state.

Syntax

[get: Foundation.Export("defaultInputElementCornerRadius", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)]
[set: Foundation.Export("setDefaultInputElementCornerRadius:", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)]
public virtual nfloat DefaultInputElementCornerRadius { 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

DefaultInputElementTintColor Property

The tint color that is applied to `inputElement` when this field view enters its default state.

Syntax

[get: Foundation.Export("defaultInputElementTintColor")]
[set: Foundation.Export("setDefaultInputElementTintColor:")]
public virtual UIKit.UIColor DefaultInputElementTintColor { 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

DefaultLabelFont Property

The font that is applied to `label` when this field view enters its default state.

Syntax

[get: Foundation.Export("defaultLabelFont")]
[set: Foundation.Export("setDefaultLabelFont:")]
public virtual UIKit.UIFont DefaultLabelFont { 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

DefaultLabelTextColor Property

The text color that is applied to `label` when this field view enters its default state.

Syntax

[get: Foundation.Export("defaultLabelTextColor")]
[set: Foundation.Export("setDefaultLabelTextColor:")]
public virtual UIKit.UIColor DefaultLabelTextColor { 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

DefaultLayout Method

The default layout used the field when a layout isn't provided.

Syntax

[Foundation.Export("defaultLayout")]
public static ISFormFieldLayout DefaultLayout ()

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

DefaultRequiredLabelFont Property

The font that is applied to `requiredLabel` when this field view enters its default state.

Syntax

[get: Foundation.Export("defaultRequiredLabelFont")]
[set: Foundation.Export("setDefaultRequiredLabelFont:")]
public virtual UIKit.UIFont DefaultRequiredLabelFont { 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

DefaultRequiredLabelTextColor Property

The text color that is applied to `requiredLabel` when this field view enters its default state.

Syntax

[get: Foundation.Export("defaultRequiredLabelTextColor")]
[set: Foundation.Export("setDefaultRequiredLabelTextColor:")]
public virtual UIKit.UIColor DefaultRequiredLabelTextColor { 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

DidBeginEditingInputElement Method

Documentation for this section has not yet been entered.

Syntax

[Foundation.Export("didBeginEditingInputElement:")]
public virtual void DidBeginEditingInputElement (Foundation.NSObject inputElement)

Parameters

inputElement
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

DidChangeValueForInputElement Method

Documentation for this section has not yet been entered.

Syntax

[Foundation.Export("didChangeValueForInputElement:")]
public virtual void DidChangeValueForInputElement (Foundation.NSObject inputElement)

Parameters

inputElement
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

DidEndEditingInputElement Method

Documentation for this section has not yet been entered.

Syntax

[Foundation.Export("didEndEditingInputElement:")]
public virtual void DidEndEditingInputElement (Foundation.NSObject inputElement)

Parameters

inputElement
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

DisabledInputElementBackgroundColor Property

The background color that is applied to `inputElement` when this field view enters its disabled state.

Syntax

[get: Foundation.Export("disabledInputElementBackgroundColor")]
[set: Foundation.Export("setDisabledInputElementBackgroundColor:")]
public virtual UIKit.UIColor DisabledInputElementBackgroundColor { 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

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

Enabled Property

Whether this view is enabled for input entry.

Syntax

[get: Foundation.Export("isEnabled", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)]
[set: Foundation.Export("setEnabled:", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)]
public virtual bool Enabled { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Setting this to `NO` will change the field to look inactive, giving it a faded appearance. Defaults to `YES`.

Requirements

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

ErrorLabel Property

A label showing validation error messages.

Syntax

[get: Foundation.Export("errorLabel")]
[set: Foundation.Export("setErrorLabel:")]
public virtual UIKit.UILabel ErrorLabel { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

This label displays the error message provided by the `model`'s first failing validator.

Requirements

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

FocusedInputElementBorderColor Property

The border color that is applied to `inputElement` when this field view enters its focused state.

Syntax

[get: Foundation.Export("focusedInputElementBorderColor")]
[set: Foundation.Export("setFocusedInputElementBorderColor:")]
public virtual UIKit.UIColor FocusedInputElementBorderColor { 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

InputElement Property

The view used for data entry.

Syntax

[get: Foundation.Export("inputElement")]
[set: Foundation.Export("setInputElement:")]
public virtual UIKit.UIView InputElement { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

This view is kept in sync with the model's `value` property. The type of the value in the input element can differ from the type of the value on the `model` - the conversion is handled by the field's `converter`.

Requirements

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

InvalidInputElementBorderColor Property

The border color that is applied to `inputElement` when this field view enters its invalid state.

Syntax

[get: Foundation.Export("invalidInputElementBorderColor")]
[set: Foundation.Export("setInvalidInputElementBorderColor:")]
public virtual UIKit.UIColor InvalidInputElementBorderColor { 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

InvalidInputElementBorderWidth Property

The border width that is applied to `inputElement` when this field view enters its invalid state.

Syntax

[get: Foundation.Export("invalidInputElementBorderWidth", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)]
[set: Foundation.Export("setInvalidInputElementBorderWidth:", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)]
public virtual nfloat InvalidInputElementBorderWidth { 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

Label Property

The field's title label.

Syntax

[get: Foundation.Export("label")]
[set: Foundation.Export("setLabel:")]
public virtual UIKit.UILabel Label { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

This label's text value is kept in sync with the `model`'s `title`.

Requirements

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

Layout Property

The layout object used by this field.

Syntax

[get: Foundation.Export("layout")]
[set: Foundation.Export("setLayout:")]
public virtual ISFormFieldLayout Layout { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

This layout object is delegated to when the field lays out (`layoutSubviews`) and is auto-sized (when calling `sizeToFit`). Setting this layout object allows you to change the layout of a field without subclassing. The available layouts: - `SFormFieldLayoutLabelOnTopOfInput`: The label is positioned above the input element (default). - `SFormFieldLayoutLabelLeftOfInput`: The label is positioned to the left of the input element. - `SFormFieldLayoutNoLabel`: The `label` will be hidden. To take manual control of layout you can nil out this object: fieldView.layout = nil Default is `SFormFieldLayoutLabelOnTopOfInput`.

Requirements

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

Model Property

The model being presented.

Syntax

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

RemoveResponderMethodsFromInputElement Method

Documentation for this section has not yet been entered.

Syntax

[Foundation.Export("removeResponderMethodsFromInputElement:")]
public virtual void RemoveResponderMethodsFromInputElement (UIKit.UIView inputElement)

Parameters

inputElement
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

RequiredLabel Property

A label indicating that the field is a required field.

Syntax

[get: Foundation.Export("requiredLabel")]
[set: Foundation.Export("setRequiredLabel:")]
public virtual UIKit.UILabel RequiredLabel { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

This label is shown and hidden when the `model`'s `required` property is changed.

Requirements

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

UpdateAsDefault Method

Style the field in it's default look.

Syntax

[Foundation.Export("updateAsDefault")]
public virtual void UpdateAsDefault ()

Remarks

Requirements

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

UpdateAsDisabled Method

Style the field in it's disabled look.

Syntax

[Foundation.Export("updateAsDisabled")]
public virtual void UpdateAsDisabled ()

Remarks

Requirements

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

UpdateAsFocused Method

Style the field in it's focused look.

Syntax

[Foundation.Export("updateAsFocused")]
public virtual void UpdateAsFocused ()

Remarks

Requirements

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

UpdateAsInvalid Method

Style the field in it's invalid look.

Syntax

[Foundation.Export("updateAsInvalid")]
public virtual void UpdateAsInvalid ()

Remarks

Requirements

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

UpdateAsValid Method

Style the field in it's valid look.

Syntax

[Foundation.Export("updateAsValid")]
public virtual void UpdateAsValid ()

Remarks

Requirements

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

UpdateInputElementFromInputView Method

Updates `inputElement`'s displayed value to match that of its `inputView`'s current state.

Syntax

[Foundation.Export("updateInputElementFromInputView")]
public virtual void UpdateInputElementFromInputView ()

Remarks

Note that the `inputView` has to be capabable of persistent state in order for this method to do anything useful. It is unusual to need to call this method directly. However it might be useful for subclassing/overridding in order to modify how this field view updates its `inputElement` from the associated `inputView`.

Requirements

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

UpdateModel Method

Updates `model` with the current contents of this view.

Syntax

[Foundation.Export("updateModel")]
public virtual void UpdateModel ()

Remarks

Subclasses will typically implement this by pulling needed values from the `inputElement` or the `inputElement`'s `inputView`, doing any necessary formatting, and then setting this on the `model`'s `value`. It is unusual to need to call this method directly, as any user input into this field view automatically triggers this method. However it might be useful for subclassing/overridding in order to modify how this field view updates its model.

Requirements

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

ValidInputElementBorderColor Property

The border color that is applied to `inputElement` when this field view enters its valid state.

Syntax

[get: Foundation.Export("validInputElementBorderColor")]
[set: Foundation.Export("setValidInputElementBorderColor:")]
public virtual UIKit.UIColor ValidInputElementBorderColor { 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

ValidInputElementBorderWidth Property

The border width that is applied to `inputElement` when this field view enters its valid state.

Syntax

[get: Foundation.Export("validInputElementBorderWidth", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)]
[set: Foundation.Export("setValidInputElementBorderWidth:", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)]
public virtual nfloat ValidInputElementBorderWidth { 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