ShinobiControls Xamarin Bindings Documentation

ShinobiForms : Shinobi.Forms Namespace

SFormDelegate Class

Protocol for any classes which act as a delegate of a `ShinobiForm`. Delegates are notified when data is submitted from the form, or if a submission was attempted but failed.

Syntax

[Foundation.Model]
[Foundation.Protocol]
[Foundation.Register("SFormDelegate", true)]
public class SFormDelegate : Foundation.NSObject, ISFormDelegate, 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.

Protected Constructors

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

Public Methods

FormDidNotSubmit (ShinobiForm, SFormField[])
Documentation for this section has not yet been entered.
FormDidSubmit (ShinobiForm)
The delegate is notified when data is submitted from the form.
FormWillSubmit (ShinobiForm)
The delegate is notified when the form is about to submit data.

Extension Methods

static
FormDidNotSubmit (this ISFormDelegate, ShinobiForm, SFormField[])
Documentation for this section has not yet been entered.
static
FormDidSubmit (this ISFormDelegate, ShinobiForm)
Documentation for this section has not yet been entered.
static
FormWillSubmit (this ISFormDelegate, ShinobiForm)
Documentation for this section has not yet been entered.

Member Details

SFormDelegate Constructor

Default constructor.

Syntax

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

Remarks

Requirements

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

SFormDelegate Constructor

Documentation for this section has not yet been entered.

Syntax

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

SFormDelegate Constructor

A constructor used when creating managed representations of unmanaged objects.

Syntax

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

FormDidNotSubmit Method

Documentation for this section has not yet been entered.

Syntax

[Foundation.Export("form:didNotSubmitWithInvalidFields:")]
public virtual void FormDidNotSubmit (ShinobiForm form, SFormField[] invalidFields)

Parameters

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

FormDidSubmit Method

The delegate is notified when data is submitted from the form.

Syntax

[Foundation.Export("formDidSubmit:")]
public virtual void FormDidSubmit (ShinobiForm form)

Parameters

form
The form containing the data.

Remarks

Requirements

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

FormWillSubmit Method

The delegate is notified when the form is about to submit data.

Syntax

[Foundation.Export("formWillSubmit:")]
public virtual void FormWillSubmit (ShinobiForm form)

Parameters

form
The form containing the data.

Remarks

Requirements

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