ShinobiControls Xamarin Bindings Documentation

ShinobiForms : Shinobi.Forms Namespace

SFormChoiceFieldComparisonValidator Class

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

Syntax

[Foundation.Register("SFormChoiceFieldComparisonValidator", true)]
public class SFormChoiceFieldComparisonValidator : Foundation.NSObject, ISFormChoiceFieldValidator, IDisposable

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

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 SFormChoiceField . The choice field that we are comparing the validating choice field's input against.
[read-only]
ValidResult SFormComparisonRule . The result needed from the comparison to achieve positive validation.

Public Methods

ValidateChoiceField (SFormChoiceField) : bool
Documentation for this section has not yet been entered.

Protected Methods

override
Dispose (bool)
Releases unmanaged resources.

Member Details

SFormChoiceFieldComparisonValidator Constructor

Default constructor.

Syntax

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

Remarks

Requirements

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

SFormChoiceFieldComparisonValidator Constructor

Documentation for this section has not yet been entered.

Syntax

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

SFormChoiceFieldComparisonValidator Constructor

A constructor used when creating managed representations of unmanaged objects.

Syntax

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

SFormChoiceFieldComparisonValidator Constructor

Documentation for this section has not yet been entered.

Syntax

[Foundation.Export("initWithFieldToCompare:validResult:")]
public SFormChoiceFieldComparisonValidator (SFormChoiceField 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 choice field that we are comparing the validating choice field's input against.

Syntax

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

ValidateChoiceField Method

Documentation for this section has not yet been entered.

Syntax

[Foundation.Export("validateChoiceField:")]
public virtual bool ValidateChoiceField (SFormChoiceField 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