CGEvent Construtores
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
CGEvent(CGEventSource)
public CGEvent (CoreGraphics.CGEventSource eventSource);
new CoreGraphics.CGEvent : CoreGraphics.CGEventSource -> CoreGraphics.CGEvent
Parâmetros
- eventSource
- CGEventSource
Aplica-se a
CGEvent(NSData)
public CGEvent (Foundation.NSData source);
new CoreGraphics.CGEvent : Foundation.NSData -> CoreGraphics.CGEvent
Parâmetros
- source
- NSData
Aplica-se a
CGEvent(IntPtr)
public CGEvent (IntPtr handle);
new CoreGraphics.CGEvent : nativeint -> CoreGraphics.CGEvent
Parâmetros
- handle
-
IntPtr
nativeint
Aplica-se 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[]
Aplica-se 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
Aplica-se 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