ShinobiControls Xamarin Bindings Documentation

ShinobiForms : Shinobi.Forms Namespace

SFormDateFieldComparisonValidator Class

A validator that compares the validating date field's input against a specified date field's input.

Syntax

[Foundation.Register("SFormDateFieldComparisonValidator", true)]
public class SFormDateFieldComparisonValidator : Foundation.NSObject, ISFormDateFieldValidator, IDisposable

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.
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.
InvalidMessage string . A string representing the invalid message to provide.
[read-only]
ToCompare SFormDateField . The date field that we are comparing the validating date field's input against.
[read-only]
ValidResult SFormComparisonRule . The result needed from the comparison to achieve positive validation.

Public Methods

ValidateDateField (SFormDateField) : bool
Documentation for this section has not yet been entered.

Protected Methods

override
Dispose (bool)
Releases unmanaged resources.

Member Details

SFormDateFieldComparisonValidator Constructor

Default constructor.

Syntax

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

Remarks

Requirements

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

SFormDateFieldComparisonValidator Constructor

Documentation for this section has not yet been entered.

Syntax

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

SFormDateFieldComparisonValidator Constructor

A constructor used when creating managed representations of unmanaged objects.

Syntax

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

SFormDateFieldComparisonValidator Constructor

Documentation for this section has not yet been entered.

Syntax

[Foundation.Export("initWithFieldToCompare:validResult:")]
public SFormDateFieldComparisonValidator (SFormDateField toCompare, SFormComparisonRule validResult)

Parameters

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

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

InvalidMessage Property

A string representing the invalid message to provide.

Syntax

[get: Foundation.Export("invalidMessage")]
[set: Foundation.Export("setInvalidMessage:")]
public virtual string InvalidMessage { 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

ToCompare Property

The date field that we are comparing the validating date field's input against.

Syntax

[get: Foundation.Export("toCompare", ObjCRuntime.ArgumentSemantic.Strong)]
public virtual SFormDateField ToCompare { 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

ValidateDateField Method

Documentation for this section has not yet been entered.

Syntax

[Foundation.Export("validateDateField:")]
public virtual bool ValidateDateField (SFormDateField field)

Parameters

field
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

ValidResult Property

The result needed from the comparison to achieve positive validation.

Syntax

[get: Foundation.Export("validResult", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)]
public virtual SFormComparisonRule ValidResult { 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