Method Mouse
Mouse(string, MouseFlags, Point, string, string?, string)
Traces a mouse event at the Driver or Application level (no view context).
[Conditional("DEBUG")]
public static void Mouse(string source, MouseFlags flags, Point position, string phase, string? message = null, string method = "")
Parameters
sourcestringIdentifying string for the source (e.g., "Driver", "Application").
flagsMouseFlagsThe mouse flags.
positionPointThe mouse position.
phasestringThe phase of processing.
messagestringOptional additional context.
methodstringAutomatically captured caller method name.
Mouse(View, MouseFlags, Point, string, string?, string)
Traces a mouse event at the View level.
[Conditional("DEBUG")]
public static void Mouse(View view, MouseFlags flags, Point position, string phase, string? message = null, string method = "")
Parameters
viewViewThe view processing the mouse event.
flagsMouseFlagsThe mouse flags.
positionPointThe mouse position.
phasestringThe phase of processing.
messagestringOptional additional context.
methodstringAutomatically captured caller method name.
Mouse(View, Mouse, string, string?, string)
Traces a mouse event with a Mouse object at the View level.
[Conditional("DEBUG")]
public static void Mouse(View view, Mouse mouse, string phase, string? message = null, string method = "")
Parameters
viewViewThe view processing the mouse event.
mouseMouseThe mouse event data.
phasestringThe phase of processing.
messagestringOptional additional context.
methodstringAutomatically captured caller method name.
Mouse(string, Mouse, string, string?, string)
Traces a mouse event with a Mouse object at the Driver or Application level.
[Conditional("DEBUG")]
public static void Mouse(string source, Mouse mouse, string phase, string? message = null, string method = "")