ShinobiControls Xamarin Bindings Documentation

ShinobiForms : Shinobi.Forms Namespace

SFormTextFieldValidators Class

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

Syntax

[Foundation.Register("SFormTextFieldValidators", true)]
public class SFormTextFieldValidators : 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
CompareWithTextField (SFormTextField, SFormTextComparisonMode, SFormComparisonRule) : SFormTextFieldComparisonValidator
Documentation for this section has not yet been entered.
static
Email () : SFormTextFieldEmailValidator
Returns a validator to check that a text field contains a valid email address. E.g. info@shinobicontrols.com.
static
MinMaxGroup (SFormTextField, SFormTextField, SFormTextComparisonMode) : SFormFieldGroup
Documentation for this section has not yet been entered.
static
NotEmpty () : SFormTextFieldNotEmptyValidator
Returns a validator asserting that a text field has non-empty content.
static
Numeric () : SFormTextFieldNumericValidator
Returns a validator to check that a text field contains a valid numeric string.

Member Details

SFormTextFieldValidators Constructor

Default constructor.

Syntax

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

Remarks

Requirements

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

SFormTextFieldValidators Constructor

Documentation for this section has not yet been entered.

Syntax

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

SFormTextFieldValidators Constructor

A constructor used when creating managed representations of unmanaged objects.

Syntax

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

CompareWithTextField Method

Documentation for this section has not yet been entered.

Syntax

[Foundation.Export("compareWithTextField:comparisonMode:validResult:")]
public static SFormTextFieldComparisonValidator CompareWithTextField (SFormTextField field, SFormTextComparisonMode comparisonMode, SFormComparisonRule validResult)

Parameters

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

Email Method

Returns a validator to check that a text field contains a valid email address. E.g. info@shinobicontrols.com.

Syntax

[Foundation.Export("email")]
public static SFormTextFieldEmailValidator Email ()

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

MinMaxGroup Method

Documentation for this section has not yet been entered.

Syntax

[Foundation.Export("minMaxGroupForMinTextField:maxTextField:comparisonMode:")]
public static SFormFieldGroup MinMaxGroup (SFormTextField minField, SFormTextField maxField, SFormTextComparisonMode comparisonMode)

Parameters

minField
Documentation for this section has not yet been entered.
maxField
Documentation for this section has not yet been entered.
comparisonMode
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 text field has non-empty content.

Syntax

[Foundation.Export("notEmpty")]
public static SFormTextFieldNotEmptyValidator 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

Numeric Method

Returns a validator to check that a text field contains a valid numeric string.

Syntax

[Foundation.Export("numeric")]
public static SFormTextFieldNumericValidator Numeric ()

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