Метод | Описание | |
---|---|---|
CaptureMouse ( ) : void |
Captures the mouse, hiding it and trapping it inside the window bounds. This method is useful for tooling scenarios where you only care about the mouse deltas and want the user to be able to continue interacting with the window while they move the mouse. A good example of this is rotating an object based on the mouse deltas where through capturing you can spin and spin without having the cursor leave the window. |
|
GraphicsDeviceControl ( ) : System | ||
ReleaseMouseCapture ( ) : void |
Releases the capture of the mouse which makes it visible and allows it to leave the window bounds.
|
|
SetCursor ( System.Windows.Input.Cursor cursor ) : void |
Метод | Описание | |
---|---|---|
BuildWindowCore ( |
||
DestroyWindowCore ( |
||
Dispose ( bool disposing ) : void | ||
WndProc ( |
Метод | Описание | |
---|---|---|
CompositionTarget_Rendering ( object sender, |
||
CreateHostWindow ( |
Creates the host window as a child of the parent window.
|
|
Current_Activated ( object sender, |
||
Current_Deactivated ( object sender, |
||
InitGraphicsDevice ( ) : bool | ||
RegisterWindowClass ( ) : void |
Registers the window class.
|
|
ResetMouseState ( ) : void | ||
XnaWindowHost_Loaded ( object sender, |
||
XnaWindowHost_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void |
protected BuildWindowCore ( |
||
hwndParent | ||
Результат |
protected DestroyWindowCore ( |
||
hwnd | ||
Результат | void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
public SetCursor ( System.Windows.Input.Cursor cursor ) : void | ||
cursor | System.Windows.Input.Cursor | |
Результат | void |
protected WndProc ( |
||
hwnd | ||
msg | int | |
wParam | ||
lParam | ||
handled | bool | |
Результат |