MonoTouch.UIKit.UIView.Layer Property
The Core Animation layer used for rendering.

Syntax

[MonoTouch.ObjCRuntime.ThreadSafe]
[get: MonoTouch.Foundation.Export("layer")]
public virtual MonoTouch.CoreAnimation.CALayer Layer { get; }

Value

Returns the MonoTouch.CoreAnimation.CALayer that the MonoTouch.UIKit.UIView is being rendered on.

Remarks

This method will not return null.

The MonoTouch.UIKit.UIView and the MonoTouch.CoreAnimation.CALayer are tightly coupled and should not be reassigned.

This can be used from a background thread.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0