Method RaiseCommandsBoundToButtonFlags
RaiseCommandsBoundToButtonFlags(Mouse)
INTERNAL API: Converts mouse click events into Commands by invoking the commands bound to the mouse buttons via MouseBindings. By default, all mouse clicks are bound to Activate which raises the Activating event.
protected bool RaiseCommandsBoundToButtonFlags(Mouse args)
Parameters
argsMouseThe mouse event arguments containing the mouse flags and position information.
Returns
- bool
true if a command was invoked and handled; false if no command was invoked or the command was not handled. Also sets Handled on the input
args.
Remarks
Invokes commands bound to mouse events via MouseBindings. By default, Pressed events are bound to Activate and Clicked events are bound to Accept.