ShinobiControls Xamarin Bindings Documentation

ShinobiForms : Shinobi.Forms Namespace

SFormChoiceFieldValidators Class

A utility class that provides helper methods for some common choice field validator types.

Syntax

[Foundation.Register("SFormChoiceFieldValidators", true)]
public class SFormChoiceFieldValidators : Foundation.NSObject

Remarks

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.

Public Methods

static
CompareWithChoiceField (SFormChoiceField, SFormComparisonRule) : SFormChoiceFieldComparisonValidator
Documentation for this section has not yet been entered.
static
MinMaxGroup (SFormChoiceField, SFormChoiceField) : SFormFieldGroup
Documentation for this section has not yet been entered.
static
NotEmpty () : SFormChoiceFieldNotEmptyValidator
Returns a validator asserting that a choice field has non-empty content.

Member Details

SFormChoiceFieldValidators Constructor

Default constructor.

Syntax

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

Remarks

Requirements

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

SFormChoiceFieldValidators Constructor

Documentation for this section has not yet been entered.

Syntax

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

SFormChoiceFieldValidators Constructor

A constructor used when creating managed representations of unmanaged objects.

Syntax

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

CompareWithChoiceField Method

Documentation for this section has not yet been entered.

Syntax

[Foundation.Export("compareWithChoiceField:validResult:")]
public static SFormChoiceFieldComparisonValidator CompareWithChoiceField (SFormChoiceField field, SFormComparisonRule expectedResult)

Parameters

field
Documentation for this section has not yet been entered.
expectedResult
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

MinMaxGroup Method

Documentation for this section has not yet been entered.

Syntax

[Foundation.Export("minMaxGroupForMinChoiceField:maxChoiceField:")]
public static SFormFieldGroup MinMaxGroup (SFormChoiceField minField, SFormChoiceField maxField)

Parameters

minField
Documentation for this section has not yet been entered.
maxField
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

NotEmpty Method

Returns a validator asserting that a choice field has non-empty content.

Syntax

[Foundation.Export("notEmpty")]
public static SFormChoiceFieldNotEmptyValidator NotEmpty ()

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