ShinobiControls Xamarin Bindings Documentation

ShinobiForms : Shinobi.Forms Namespace

ShinobiForm Class

A `ShinobiForm` is used to present input fields to a user in order to collect data.

Syntax

[Foundation.Register("ShinobiForm", true)]
public class ShinobiForm : Foundation.NSObject

Remarks

A `ShinobiForm` contains 1 or more `SFormSection`s that each owns a set of fields. An `SFormField` is used to collect users input and can give visual feedback as to the validity of any input.

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.
Create a form containing the given sections.

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.
Delegate ISFormDelegate . The form's delegate.
FieldGroups SFormFieldGroup[]. The field groups on a form.
Sections SFormSection[]. The sections belonging to the form.

Public Methods

Submit ()
Notify the delegate a submission has taken place.

Protected Methods

override
Dispose (bool)
Releases unmanaged resources.

Member Details

ShinobiForm Constructor

Default constructor.

Syntax

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

Remarks

Requirements

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

ShinobiForm Constructor

Documentation for this section has not yet been entered.

Syntax

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

ShinobiForm Constructor

Create a form containing the given sections.

Syntax

[Foundation.Export("initWithSections:")]
public ShinobiForm (SFormSection[] sections)

Parameters

sections
The sections to initialize the form with.

Remarks

This is the designated initializer.

Requirements

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

ShinobiForm Constructor

A constructor used when creating managed representations of unmanaged objects.

Syntax

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

Delegate Property

The form's delegate.

Syntax

[get: Foundation.Export("delegate")]
[set: Foundation.Export("setDelegate:")]
public virtual ISFormDelegate Delegate { 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

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

FieldGroups Property

The field groups on a form.

Syntax

[get: Foundation.Export("fieldGroups")]
[set: Foundation.Export("setFieldGroups:")]
public virtual SFormFieldGroup[] FieldGroups { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

These objects should be of type `SFormFieldGroup`.

Requirements

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

Sections Property

The sections belonging to the form.

Syntax

[get: Foundation.Export("sections")]
[set: Foundation.Export("setSections:")]
public virtual SFormSection[] Sections { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

This is an array of `SFormSection` objects. Assigning to this will cause any observing `SFormView` objects to create new views to represent each model object in the array.

Requirements

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

Submit Method

Notify the delegate a submission has taken place.

Syntax

[Foundation.Export("submit")]
public virtual void Submit ()

Remarks

Requirements

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