MonoTouch.CoreAnimation.CAScrollLayer Class
Layer used to show portions of another layer.

See Also: CAScrollLayer Members

Syntax

[MonoTouch.Foundation.Register("CAScrollLayer", true)]
public class CAScrollLayer : CALayer

Remarks

When you want to use one of the CALayer subclasses as your UIView's backing layer, you need to add the following code snippet to your class:

C# Example

class MyView : UIView {
    //
    // This instructs the runtime that whenever a MyView is created
    // that it should instantiate a CAScrollLayer and assign that to the
    // UIView.Layer property
    //
    [Export ("layerClass")]
    public static Class LayerClass () {
        return new Class (typeof (CAScrollLayer));
    }
}
  

Related content

Requirements

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