ShinobiControls Xamarin Bindings Documentation

ShinobiEssentials : Shinobi.Essentials Namespace

SEssentialsAccordionDataSource Class

The SEssentialsAccordionDataSource protocol is adopted by an object to provide the content for the sections within the accordion.

Syntax

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

Remarks

The content supplied by the DataSource is only retained by the Accordion while the content is visible on screen, and will be released when scrolled off screen or the section is closed. It is up to the class adopting the SEssentialsAccordionDataSource protocol to retain content so it can be requested at any time.

Requirements

Namespace: Shinobi.Essentials
Assembly: ShinobiEssentials (in ShinobiEssentials.dll)
Assembly Versions: 2.8.0.4

Members

See Also: Inherited members from Foundation.NSObject.

Protected Constructors

Default constructor.
Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects.

Public Methods

abstract
GetContent (SEssentialsAccordion, SEssentialsAccordionSection) : UIKit.UIView
Provides the content UIView for a given section.

Member Details

SEssentialsAccordionDataSource Constructor

Default constructor.

Syntax

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

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Shinobi.Essentials
Assembly: ShinobiEssentials (in ShinobiEssentials.dll)
Assembly Versions: 2.8.0.4

SEssentialsAccordionDataSource Constructor

Constructor to call on derived classes to skip initialization and merely allocate the object.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
protected SEssentialsAccordionDataSource (Foundation.NSObjectFlag t)

Parameters

t
Unused sentinel value

Remarks

You should not invoke this method directly.

Requirements

Namespace: Shinobi.Essentials
Assembly: ShinobiEssentials (in ShinobiEssentials.dll)
Assembly Versions: 2.8.0.4

SEssentialsAccordionDataSource Constructor

A constructor used when creating managed representations of unmanaged objects.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
protected SEssentialsAccordionDataSource (IntPtr handle)

Parameters

handle
Handle of the unmanaged object

Remarks

You should not invoke this method directly.

Requirements

Namespace: Shinobi.Essentials
Assembly: ShinobiEssentials (in ShinobiEssentials.dll)
Assembly Versions: 2.8.0.4

GetContent Method

Provides the content UIView for a given section.

Syntax

[Foundation.Export("accordion:contentForSection:")]
public abstract UIKit.UIView GetContent (SEssentialsAccordion accordion, SEssentialsAccordionSection section)

Parameters

accordion
The SEssentialsAccordion requesting the content
section
The SEssentialsAccordionSection for which the content is being requested

Returns

Documentation for this section has not yet been entered.

Remarks

This method is called at some point between the section being added to an accordion, and the section being opened. If the DataSource on an accordion is replaced, the content for each section will be re-requested.

Requirements

Namespace: Shinobi.Essentials
Assembly: ShinobiEssentials (in ShinobiEssentials.dll)
Assembly Versions: 2.8.0.4