MonobjcMonobjc Documented Class Library
CALayer..::..ActionForLayerForKeyEventHandler Delegate
NamespacesMonobjc.QuartzCoreCALayerCALayer..::..ActionForLayerForKeyEventHandler

Allows the delegate to customize the action for a layer.

Original signature is '- (id < CAAction >)actionForLayer:(CALayer *)layer forKey:(NSString *)key'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public delegate ICAAction ActionForLayerForKeyEventHandler(
	CALayer layer,
	NSString key
)
Public Delegate Function ActionForLayerForKeyEventHandler ( _
	layer As CALayer, _
	key As NSString _
) As ICAAction
public delegate ICAAction^ ActionForLayerForKeyEventHandler(
	CALayer^ layer, 
	NSString^ key
)
Parameters
layer (CALayer)
The layer that is the target of the action.
key (NSString)
The identifier of the action.
Return Value
Returns an object implementing the CAAction protocol. May return nil if the delegate doesn't specify a behavior for key.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)