In This Topic
The following tables list the members exposed by NMouse.
Public Fields
| Name | Description |
| CaptureInEvent | |
| CaptureOutEvent | |
| DownEvent | The event which is raised when the mouse is down in a node |
| EnterEvent | The event which is raised when the mouse enters a node |
| GotCaptureEvent | The Event associated with Mouse GotCapture |
| InEvent | The In event |
| IsCapturedPropertyEx | Gets the IsCaptured Extended Property. The value of this property is automatically set to true for the current mouse capture target. The value of this property is cleared from the previous mouse capture target (if any). |
| IsCaptureWithinPropertyEx | Gets the IsCaptureWithin Extended Property. The value of this property is automatically set to true for the current mouse capture target and its ancestors chain. The value of this property is cleared from the previous mouse capture target and its ancestors chain (if any). |
| IsDirectlyOverPropertyEx | Gets the IsDirectlyOver Extended Property. The value of this property is automatically set to true for the current mouse over target. The value of this property is cleared from the previous mouse over target (if any). |
| IsOverPropertyEx | Gets the IsOver Extended Property. The value of this property is automatically set to true for the current mouse over target and its ancestors chain. The value of this property is cleared from the previous mouse capture target and its ancestors chain (if any). |
| LeaveEvent | The Event associated with Mouse Leave |
| LostCaptureEvent | The Event associated with Mouse LostCapture |
| MoveEvent | The event which is raised when the mouse moves over a node |
| OutEvent | The Out event |
| UpEvent | The event which is raised when the mouse is up in a node |
| WheelEvent | The event which is raised when the mouse wheel is moved in a node |
Top
Protected Fields
| Name | Description |
| IQEd | |
Top
Public Properties
| Name | Description |
| CaptureTarget | Gets the input target, which currently captured the mouse |
| ScreenPosition | Gets the screen position of the mouse |
Top
Public Methods
| Name | Description |
| CanCaptureWindowPeer | Determines whether the specified target window peer can capture the mouse. This method should be called by all implementations of INInputTarget.CanCapture(), after target specific condition checks (such as Enabled, AllowCapture etc.) |
| CanRequestCursor | Determines whether a cursor can be requested. |
| CanRequestTooltip | Determines whether a tooltip can be requested |
| Capture | Captures the mouse to the specified input target. This method should be called by all implementations of INInputTarget.CaptureMouse(). Any subsequent mouse events send to the DOM for processing will first be processed by the capture target. |
| CommitCursorRequests | Applies the first valid requested cursor to the specified window |
| CommitTooltipRequest | Applies the first valid requested cursor to the specified window |
| IsCaptured | Returns the value of the CapturedPropertyEx extended property for the specified node. |
| IsCaptureWithin | Returns the value of the CaptureWithinPropertyEx extended property for the specified node. |
| IsDirectlyOver | Returns the value of the DirectlyOverPropertyEx extended property for the specified node. |
| IsMouseActionEvent | Checks whether the specified event is a mouse action event (Move, Down, Up, Wheel). |
| IsMouseCaptureEvent | Checks whether the specified event is a mouse capture event (GotCapture, LostCapture, CaptureIn, CaptureOut) |
| IsMouseTargetEvent | Checks whether the specified event is a mouse target notification event (EnterEvent, LeaveEvent, InEvent, OutEvent) |
| IsOver | Returns the value of the OverPropertyEx extended property for the specified node. |
| ReleaseCapture | Releases the mouse capture, if the specified input target holds the capture. Any subsequent mouse events send to the DOM for processing will first be processed by the top-most input target below the mouse cursor. |
| RequestCursor | Requests a cursor for the specified target |
| RequestTooltip | Requests a tooltip for the specified target |
| StartCursorRequests | Called before each request cursors session. |
| StartTooltipRequests | Called before each request tooltips session. |
| TryGetLocalPosition | Tries to get the position of the mouse in the specified element coordinate system. |
Top
See Also