ShinobiControls Xamarin Bindings Documentation

ShinobiEssentials : Shinobi.Essentials Namespace

SEssentialsDecoratedShadowedView Class

The SEssentialsDecoratedShadowedView adds an inner shadow effect on either side of the wrapped view.

Syntax

[Foundation.Register("SEssentialsDecoratedShadowedView", true)]
public class SEssentialsDecoratedShadowedView : SEssentialsDecoratedView

Remarks

A shadowed view with default settings can be created, then further customized as;
Example
SEssentialsDecoratedShadowedView shadowedView = new SEssentialsDecoratedShadowedView(view)
{
	ShadowAlpha = 0.9f,
	ShadowLength = 4.f
}

Requirements

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

Members

See Also: Inherited members from SEssentialsDecoratedView.

Public Constructors

A constructor that initializes the object from the data stored in the unarchiver object.
Constructs a new shadowed view around the given view.

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]
override
ClassHandle IntPtr . The handle for this class.
[read-only]
override
ClassHandle IntPtr . The handle for this class. (Inherited from SEssentialsDecoratedView.)
ShadowAlpha nfloat . The alpha value of the shadow at the edges of the view, between 0 and 1.
ShadowLength nfloat . The length of the shadow, in points.
[read-only]
View UIKit.UIView . The view which the SEssentialsDecoratedView was initialized with. (Inherited from SEssentialsDecoratedView.)

Public Methods

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

Protected Methods

override
Dispose (bool)
Releases unmanaged resources. (Inherited from SEssentialsDecoratedView.)

Member Details

SEssentialsDecoratedShadowedView 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 SEssentialsDecoratedShadowedView (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

SEssentialsDecoratedShadowedView Constructor

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

Syntax

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

SEssentialsDecoratedShadowedView Constructor

A constructor used when creating managed representations of unmanaged objects.

Syntax

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

SEssentialsDecoratedShadowedView Constructor

Constructs a new shadowed view around the given view.

Syntax

public SEssentialsDecoratedShadowedView (UIKit.UIView view)

Parameters

view
The view to be wrapped in the shadowed view.

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

ShadowAlpha Property

The alpha value of the shadow at the edges of the view, between 0 and 1.

Syntax

[get: Foundation.Export("shadowAlpha", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)]
[set: Foundation.Export("setShadowAlpha:", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)]
public virtual nfloat ShadowAlpha { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Defaults to 0.5.

Requirements

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

ShadowLength Property

The length of the shadow, in points.

Syntax

[get: Foundation.Export("shadowLength", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)]
[set: Foundation.Export("setShadowLength:", ObjCRuntime.ArgumentSemantic.UnsafeUnretained)]
public virtual nfloat ShadowLength { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Defaults to 8 pts.

Requirements

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