ShinobiControls Xamarin Bindings Documentation

ShinobiEssentials : Shinobi.Essentials Namespace

ISEssentialsTabHeaderViewProtocol Interface

The header view for a SEssentialsTab must adopt this protocol.

Syntax

[Foundation.Protocol(Name="SEssentialsTabHeaderViewProtocol", WrapperType=typeof(Shinobi.Essentials.SEssentialsTabHeaderViewProtocolWrapper))]
public interface ISEssentialsTabHeaderViewProtocol : ObjCRuntime.INativeObject, IDisposable

Remarks

In addition to this protocol the implementation should also handle 'touch' actions that should call ActivateTab on the SEssentialsTabbedView and also handle touches on the 'delete' section of the tab that should call RemoveTab.

Requirements

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

Members

Public Properties

Active bool . The header view must render in two states: active/inactive. When set this should update the rendered view to reflect the state in the tab area.
Removable bool . Defines whether the tab header view will display some kind of control to allow the user to remove the tab.
Tab SEssentialsTab . The SEssentialsTab that holds the reference to this view, set automatically on creation

Public Methods

DestinationMarker () : UIKit.UIImage
Get an image which represents a placeholder for this tab when it is being dragged.
UpdateView ()
When a property has changed the on SEssentialsTab, the header view is updated with this method

Member Details

Active Property

The header view must render in two states: active/inactive. When set this should update the rendered view to reflect the state in the tab area.

Syntax

[Foundation.Preserve(Conditional=true)]
[get: Foundation.Export("active")]
[set: Foundation.Export("setActive:")]
public bool Active { get; set; }

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

DestinationMarker Method

Get an image which represents a placeholder for this tab when it is being dragged.

Syntax

[Foundation.Export("destinationMarker")]
[Foundation.Preserve(Conditional=true)]
public UIKit.UIImage DestinationMarker ()

Returns

Documentation for this section has not yet been entered.

Remarks

This will commonly be a translucent snapshot of the tab header view.

Requirements

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

Removable Property

Defines whether the tab header view will display some kind of control to allow the user to remove the tab.

Syntax

[Foundation.Preserve(Conditional=true)]
[get: Foundation.Export("removable")]
[set: Foundation.Export("setRemovable:")]
public bool Removable { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

The default implementation, SEssentialsTabHeaderView, has a 'remove' button that can be shown or hidden by setting this property

Requirements

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

Tab Property

The SEssentialsTab that holds the reference to this view, set automatically on creation

Syntax

[Foundation.Preserve(Conditional=true)]
[get: Foundation.Export("tab", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)]
[set: Foundation.Export("setTab:", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)]
public SEssentialsTab Tab { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Important. If you set this explicitly (unlikely) it is your responsibility to hold a reference to your object, to avoid it being garbage collected. This property does not do this for you (unlike most properties in the API) to match the behavior of the native code.

Requirements

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

UpdateView Method

When a property has changed the on SEssentialsTab, the header view is updated with this method

Syntax

[Foundation.Export("updateView")]
[Foundation.Preserve(Conditional=true)]
public void UpdateView ()

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