ShinobiControls Xamarin Bindings Documentation

ShinobiForms : Shinobi.Forms Namespace

SFormSegmentedFieldView Class

A view that allows a user to choice an option from a selection of choices.

Syntax

[Foundation.Register("SFormSegmentedFieldView", true)]
public class SFormSegmentedFieldView : SFormFieldView

Remarks

This view uses a `UISegmentedControl` as the `inputElement` to display the choice field's underlying `choices`.

Requirements

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

Members

See Also: Inherited members from SFormFieldView.

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 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.)
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.
DefaultInputElementTextColor UIKit.UIColor . The text color 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. (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 SFormSegmentedControl . The input element displaying a set of options to be selected.
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.)
InvalidInputElementTintColor UIKit.UIColor . The tint color that is applied to `inputElement` when this field view enters its invalid state.
Label UIKit.UILabel . The field's title label. (Inherited from SFormFieldView.)
Layout ISFormFieldLayout . The layout object used by this field. (Inherited from SFormFieldView.)
Model SFormChoiceField . 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.)
SelectedInputElementFont UIKit.UIFont . The font that is applied to a segment in `inputElement` when it is selected.
SelectedInputElementTextColor UIKit.UIColor . The text color that is applied to a segment in `inputElement` when it is selected.
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.)
ValidInputElementTintColor UIKit.UIColor . The tint color 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. (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 SFormFieldView.)

Member Details

SFormSegmentedFieldView Constructor

Default constructor.

Syntax

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

Remarks

Requirements

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

SFormSegmentedFieldView Constructor

Documentation for this section has not yet been entered.

Syntax

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

SFormSegmentedFieldView Constructor

Documentation for this section has not yet been entered.

Syntax

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

SFormSegmentedFieldView Constructor

A constructor used when creating managed representations of unmanaged objects.

Syntax

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

DefaultInputElementFont Property

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

Syntax

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

DefaultInputElementTextColor Property

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

Syntax

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

InputElement Property

The input element displaying a set of options to be selected.

Syntax

[get: Foundation.Export("inputElement")]
[set: Foundation.Export("setInputElement:")]
public virtual SFormSegmentedControl InputElement { 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

InvalidInputElementTintColor Property

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

Syntax

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

Model Property

The date field model being presented.

Syntax

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

SelectedInputElementFont Property

The font that is applied to a segment in `inputElement` when it is selected.

Syntax

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

SelectedInputElementTextColor Property

The text color that is applied to a segment in `inputElement` when it is selected.

Syntax

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

ValidInputElementTintColor Property

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

Syntax

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