ShinobiControls Xamarin Bindings Documentation

ShinobiEssentials : Shinobi.Essentials Namespace

SEssentialsAccordionSection Class

SEssentialsAccordionSection is a UIView representing an individual section within a SEssentialsAccordion

Syntax

[Foundation.Register("SEssentialsAccordionSection", true)]
public class SEssentialsAccordionSection : UIKit.UIView

Remarks

The SEssentialsAccordionSection class holds information about a single section in an SEssentialsAccordion. Each section has a header of type Shinobi.Essentials.SEssentialsAccordionSectionHeader and a content view of type UIView.

Requirements

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

Members

See Also: Inherited members from UIKit.UIView.

Public Constructors

Default constructor.
Instantiates with the specified frame rectangle.
A constructor that initializes the object from the data stored in the unarchiver object.
Use this constructor to create the section by supplying the header.
An SEssentialsAccordionSection is typically created like this with default implementation for the header.

Protected Constructors

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 Properties

[read-only]
Accordion SEssentialsAccordion . The accordion within which the section is contained.
[read-only]
override
ClassHandle IntPtr . The handle for this class.
[read-only]
Content UIKit.UIView . The content for the view.
[read-only]
Header SEssentialsAccordionSectionHeader . The header for the accordion section.
Open bool . Whether or not the section is currently open.

Protected Methods

override
Dispose (bool)
Releases unmanaged resources.

Member Details

SEssentialsAccordionSection Constructor

Default constructor.

Syntax

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

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

SEssentialsAccordionSection Constructor

Instantiates with the specified frame rectangle.

Syntax

public SEssentialsAccordionSection (CoreGraphics.CGRect frame)

Parameters

frame
The frame rectangle

Remarks

Requirements

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

SEssentialsAccordionSection Constructor

A constructor that initializes the object from the data stored in the unarchiver object.

Syntax

[Foundation.Export("initWithCoder:")]
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
public SEssentialsAccordionSection (Foundation.NSCoder coder)

Parameters

coder
The unarchiver object

Remarks

This constructor is provided to allow the class to be initialized from an unarchiver (for example, during NIB deserialization).

Requirements

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

SEssentialsAccordionSection Constructor

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

Syntax

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

SEssentialsAccordionSection Constructor

A constructor used when creating managed representations of unmanaged objects.

Syntax

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

SEssentialsAccordionSection Constructor

Use this constructor to create the section by supplying the header.

Syntax

[Foundation.Export("initWithFrame:andHeader:")]
public SEssentialsAccordionSection (CoreGraphics.CGRect frame, SEssentialsAccordionSectionHeader header)

Parameters

frame
The frame for the SEssentialsAccordionSection. The width of this will be changed to match that of the accordion when you add the section to an accordion.
header
An SEssentialsAccordionSectionHeader to use as the header for the section

Remarks

Creates the section, with content and the given header. Applies the style to the header.

Requirements

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

SEssentialsAccordionSection Constructor

An SEssentialsAccordionSection is typically created like this with default implementation for the header.

Syntax

[Foundation.Export("initWithFrame:andTitle:")]
public SEssentialsAccordionSection (CoreGraphics.CGRect frame, string title)

Parameters

frame
The frame for the SEssentialsAccordionSection. The width of this will be changed to match that of the accordion when you add the section to an accordion.
title
The title to be displayed in the header

Remarks

Creates the section, with header and content. Applies the style and title to the header.

Requirements

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

Accordion Property

The accordion within which the section is contained.

Syntax

[get: Foundation.Export("accordion", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)]
public virtual SEssentialsAccordion Accordion { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Set by the accordion when the section is added to it.

Requirements

Namespace: Shinobi.Essentials
Assembly: ShinobiEssentials (in ShinobiEssentials.dll)
Assembly Versions: 2.8.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

Documentation for this section has not yet been entered.

Requirements

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

Content Property

The content for the view.

Syntax

[get: Foundation.Export("content", ObjCRuntime.ArgumentSemantic.Strong)]
public virtual UIKit.UIView Content { get; }

Value

Documentation for this section has not yet been entered.

Remarks

This property is readonly because the content is provided by the accordion's DataSource.

Requirements

Namespace: Shinobi.Essentials
Assembly: ShinobiEssentials (in ShinobiEssentials.dll)
Assembly Versions: 2.8.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.Essentials
Assembly: ShinobiEssentials (in ShinobiEssentials.dll)
Assembly Versions: 2.8.0.4

Header Property

The header for the accordion section.

Syntax

[get: Foundation.Export("header", ObjCRuntime.ArgumentSemantic.Strong)]
public virtual SEssentialsAccordionSectionHeader Header { get; }

Value

Documentation for this section has not yet been entered.

Remarks

This is readonly because the header view should be provided at construction time.

Requirements

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

Open Property

Whether or not the section is currently open.

Syntax

[get: Foundation.Export("open", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)]
[set: Foundation.Export("setOpen:", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)]
public virtual bool Open { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

When set to true it opens the section. This means the section will display the content view provided by the accordion's DataSource. If in fixed mode the accordion will close the currently open view. When set to false closes the section. The section display will consist solely of its header view.

Requirements

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