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

Syntax

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

Value

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

Remarks

This method will not return null.

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

This can be used from a background thread.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0