Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#
Experimental: this API is experimental and might be changed or removed in the future.

MouseCaptureController.TakeMouseCapture

public static void TakeMouseCapture(Experimental.UIElements.IEventHandler handler);

Parameters

handlerThe event handler to capture the mouse.

Description

Assigns an event handler to capture the mouse.

If an event handler is already assigned to capture the mouse, the event handler is replaced with the handler specified by this method.

Did you find this page useful? Please give it a rating: