CGEvent Constructores
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
CGEvent(CGEventSource)
public CGEvent (CoreGraphics.CGEventSource eventSource);
new CoreGraphics.CGEvent : CoreGraphics.CGEventSource -> CoreGraphics.CGEvent
Parámetros
- eventSource
- CGEventSource
Se aplica a
CGEvent(NSData)
public CGEvent (Foundation.NSData source);
new CoreGraphics.CGEvent : Foundation.NSData -> CoreGraphics.CGEvent
Parámetros
- source
- NSData
Se aplica a
CGEvent(IntPtr)
public CGEvent (IntPtr handle);
new CoreGraphics.CGEvent : nativeint -> CoreGraphics.CGEvent
Parámetros
- handle
-
IntPtr
nativeint
Se aplica a
CGEvent(CGEventSource, CGScrollEventUnit, Int32[])
public CGEvent (CoreGraphics.CGEventSource source, CoreGraphics.CGScrollEventUnit units, params int[] wheel);
new CoreGraphics.CGEvent : CoreGraphics.CGEventSource * CoreGraphics.CGScrollEventUnit * int[] -> CoreGraphics.CGEvent
Parámetros
- source
- CGEventSource
- units
- CGScrollEventUnit
- wheel
- Int32[]
Se aplica a
CGEvent(CGEventSource, UInt16, Boolean)
public CGEvent (CoreGraphics.CGEventSource source, ushort virtualKey, bool keyDown);
new CoreGraphics.CGEvent : CoreGraphics.CGEventSource * uint16 * bool -> CoreGraphics.CGEvent
Parámetros
- source
- CGEventSource
- virtualKey
- UInt16
- keyDown
- Boolean
Se aplica a
CGEvent(CGEventSource, CGEventType, CGPoint, CGMouseButton)
public CGEvent (CoreGraphics.CGEventSource source, CoreGraphics.CGEventType mouseType, CoreGraphics.CGPoint mouseCursorPosition, CoreGraphics.CGMouseButton mouseButton);
new CoreGraphics.CGEvent : CoreGraphics.CGEventSource * CoreGraphics.CGEventType * CoreGraphics.CGPoint * CoreGraphics.CGMouseButton -> CoreGraphics.CGEvent
Parámetros
- source
- CGEventSource
- mouseType
- CGEventType
- mouseCursorPosition
- CGPoint
- mouseButton
- CGMouseButton