Метод | Описание | |
---|---|---|
GetMousePosition ( Visual relativeTo ) : Point |
Returns the mouse cursor location. This method is necessary during a drag-drop operation because the WPF mechanisms for retrieving the cursor coordinates are unreliable.
|
Метод | Описание | |
---|---|---|
GetCursorPos ( Win32Point &pt ) : bool | ||
ScreenToClient ( |
public static GetMousePosition ( Visual relativeTo ) : Point | ||
relativeTo | Visual | The Visual to which the mouse coordinates will be relative. |
Результат | Point |