Capturing the Mouse in WPF
WPF enables any UIElement to capture and release the mouse at any time. When an element captures the mouse, it receives all mouse events, even if the mouse pointer is not within its bounds. When an element releases the mouse, the event behavior returns to normal.
Capture and release can be done with two functions defined on UIElements—CaptureMouse and ReleaseMouseCapture.
Capture and release can be done with two functions defined on UIElements—CaptureMouse and ReleaseMouseCapture.
댓글
댓글 쓰기