ShinobiControls Xamarin Bindings Documentation

ShinobiForms : Shinobi.Forms Namespace

SFormChoiceFieldNotEmptyValidator Class

This validator checks to see if the choice field is empty.

Syntax

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

Remarks

This works by checking to see if the field's value is nil. If this is the case then the field is invalid. If otherwise, the field is valid.

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.
InvalidMessage string . A string representing the invalid message to provide.

Public Methods

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

Member Details

SFormChoiceFieldNotEmptyValidator Constructor

Default constructor.

Syntax

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

Remarks

Requirements

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

SFormChoiceFieldNotEmptyValidator Constructor

Documentation for this section has not yet been entered.

Syntax

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

SFormChoiceFieldNotEmptyValidator Constructor

A constructor used when creating managed representations of unmanaged objects.

Syntax

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

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

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