ShinobiControls Xamarin Bindings Documentation

ShinobiForms : Shinobi.Forms Namespace

SFormFieldLayout Class

An object capable of laying out the contents of an `SFormFieldView`.

Syntax

[Foundation.Model]
[Foundation.Protocol]
[Foundation.Register("SFormFieldLayout", true)]
public abstract class SFormFieldLayout : Foundation.NSObject, ISFormFieldLayout, IDisposable

Remarks

Possible implementations include: - `SFormFieldLayoutLabelOnTopOfInput`: Positions the label of the field above the input element, with some padding inbetween (default). - `SFormFieldLayoutLabelLeftOfInput`: Positions the label of the field to the left of the input element, with some padding between. - `SFormFieldLayoutNoLabel`: Hides the field's label.

Requirements

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

Members

See Also: Inherited members from Foundation.NSObject.

Protected Constructors

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

Public Methods

abstract
IdealSizeForFieldView (SFormFieldView) : CoreGraphics.CGSize
The ideal size for a field in this layout.
abstract
Layout (SFormFieldView)
Lays out the contents of the field view.

Member Details

SFormFieldLayout Constructor

Default constructor.

Syntax

[Foundation.Export("init")]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
protected SFormFieldLayout ()

Remarks

Requirements

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

SFormFieldLayout Constructor

Documentation for this section has not yet been entered.

Syntax

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

SFormFieldLayout Constructor

A constructor used when creating managed representations of unmanaged objects.

Syntax

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

IdealSizeForFieldView Method

The ideal size for a field in this layout.

Syntax

[Foundation.Export("idealSizeForFieldView:")]
public abstract CoreGraphics.CGSize IdealSizeForFieldView (SFormFieldView fieldView)

Parameters

fieldView
the field view to be sized.

Returns

Documentation for this section has not yet been entered.

Remarks

This method should calculate and return the ideal size for the field view.

Requirements

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

Layout Method

Lays out the contents of the field view.

Syntax

[Foundation.Export("layout:")]
public abstract void Layout (SFormFieldView fieldView)

Parameters

fieldView
The field view to be laid out.

Remarks

Requirements

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