ShinobiControls Xamarin Bindings Documentation

ShinobiEssentials : Shinobi.Essentials Namespace

SEssentialsDecoratedView Class

The SEssentialsDecoratedView allows decoration to be added to the wrapped UIView.

Syntax

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

Remarks

This allows for ShinobiControls effects, such as reflection and shadows, to be applied to the SEssentialsDecoratedView.View, which update as the wrapped SEssentialsDecoratedView.View is updated.

For more information on the individual effects, see the relevant class;

Effects can be chained together to allow for multiple effects. For example, to add fading around the edges of a view, then reflect it;
Example
SEssentialsDecoratedFadedView faded = new SEssentialsDecoratedFadedView(view);
SEssentialsDecoratedReflectedView reflected = new SEssentialsDecoratedReflectedView(faded);

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

Create an SEssentialsDecoratedView with a target view to apply effects to.

Protected Constructors

A constructor that initializes the object from the data stored in the unarchiver object.
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]
override
ClassHandle IntPtr . The handle for this class.
[read-only]
View UIKit.UIView . The view which the SEssentialsDecoratedView was initialized with.

Public Methods

ApplyDecoration ()
This forces the decorated view to update its contents.

Protected Methods

override
Dispose (bool)
Releases unmanaged resources.

Member Details

SEssentialsDecoratedView 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)]
protected SEssentialsDecoratedView (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

SEssentialsDecoratedView Constructor

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

Syntax

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

SEssentialsDecoratedView Constructor

A constructor used when creating managed representations of unmanaged objects.

Syntax

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

SEssentialsDecoratedView Constructor

Create an SEssentialsDecoratedView with a target view to apply effects to.

Syntax

[Foundation.Export("initWithView:")]
public SEssentialsDecoratedView (UIKit.UIView view)

Parameters

view
The view to apply effects to.

Remarks

The SEssentialsDecoratedView resizes to fit the subview exactly.

Requirements

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

ApplyDecoration Method

This forces the decorated view to update its contents.

Syntax

[Foundation.Export("applyDecoration")]
public virtual void ApplyDecoration ()

Remarks

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

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

Requirements

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

View Property

The view which the SEssentialsDecoratedView was initialized with.

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

Requirements

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