ShinobiControls Xamarin Bindings Documentation

ShinobiForms : Shinobi.Forms Namespace

SFormTextFieldValidator Class

This protocol provides an interface to be implemented by any object wanting to validate text fields.

Syntax

[Foundation.Model]
[Foundation.Protocol]
[Foundation.Register("SFormTextFieldValidator", true)]
public abstract class SFormTextFieldValidator : SFormInvalidMessageProvider, ISFormTextFieldValidator, IDisposable

Remarks

Requirements

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

Members

See Also: Inherited members from SFormInvalidMessageProvider.

Protected Constructors

Default constructor.
Documentation for this section has not yet been entered.
A constructor used when creating managed representations of unmanaged objects.

Public Properties

[read-only]
abstract
InvalidMessage string . Documentation for this section has not yet been entered. (Inherited from SFormInvalidMessageProvider.)

Public Methods

abstract
ValidateTextField (SFormTextField) : bool
Returns a `BOOL` value that indicates whether the text field is valid.

Member Details

SFormTextFieldValidator Constructor

Default constructor.

Syntax

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

Remarks

Requirements

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

SFormTextFieldValidator Constructor

Documentation for this section has not yet been entered.

Syntax

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

SFormTextFieldValidator Constructor

A constructor used when creating managed representations of unmanaged objects.

Syntax

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

ValidateTextField Method

Returns a `BOOL` value that indicates whether the text field is valid.

Syntax

[Foundation.Export("validateTextField:")]
public abstract bool ValidateTextField (SFormTextField field)

Parameters

field
The text field to be validated.

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