ShinobiControls Xamarin Bindings Documentation

ShinobiForms : Shinobi.Forms Namespace

SFormSectionLayout Class

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

Syntax

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

Remarks

Possible implementations include: - `SFormSectionLayoutAlignedVertically`: Positions fields vertically, aligned by their left edges. - `SFormSectionLayoutAlignedVerticallyByInput`: Positions fields vertically, aligned by the left edge of their input elements.

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
IdealSizeForSectionView (SFormSectionView) : CoreGraphics.CGSize
The ideal size for a section in this layout.
abstract
LayoutSectionView (SFormSectionView)
Lays out the contents of a section view.

Member Details

SFormSectionLayout Constructor

Default constructor.

Syntax

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

Remarks

Requirements

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

SFormSectionLayout Constructor

Documentation for this section has not yet been entered.

Syntax

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

SFormSectionLayout Constructor

A constructor used when creating managed representations of unmanaged objects.

Syntax

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

IdealSizeForSectionView Method

The ideal size for a section in this layout.

Syntax

[Foundation.Export("idealSizeForSectionView:")]
public abstract CoreGraphics.CGSize IdealSizeForSectionView (SFormSectionView sectionView)

Parameters

sectionView
The section view.

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

LayoutSectionView Method

Lays out the contents of a section view.

Syntax

[Foundation.Export("layoutSectionView:")]
public abstract void LayoutSectionView (SFormSectionView sectionView)

Parameters

sectionView
The section view to be laid out.

Remarks

A typical implementation of this would layout the section view's title and iterate through the fields, modifying the frame of each one so they are appropriately positioned within the section view.

Requirements

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