Input |
public class InputEventsManager : ManualInputEventsManager, IDisposable
The InputEventsManager type exposes the following members.
Name | Description | |
---|---|---|
InputEventsManager(ISharpEngineSceneView, Control) | Constructor that takes SharpEngineSceneView and an optional Control as events source. If later is not specified, then SharpEngineSceneView is used as events source. | |
InputEventsManager(SceneView, Control) | Constructor that takes SceneView and eventsSourceElement |
Name | Description | |
---|---|---|
EventsSourceElement | Gets the Control that is used to subscribe the mouse events (for example a Border that is a parent of a SharpEngineSceneView). If the property is not set in the constructor, SharpEngineSceneView element is used as event source (if not null). | |
SharpEngineSceneView | Gets the SharpEngineSceneView that is used by this InputEventsManager. This can be null when InputEventsManager is created by SceneView and not SharpEngineSceneView. |
Name | Description | |
---|---|---|
CapturePointer |
CaptureMouse method captures the pointer or mouse events so that even if mouse is moved out of the active window, the mouse events are passed to the active window.
This method must be overriden by a derived class to provide any functionality.
To end the capture, call the EndPointerCapture method.
(Overrides ManualInputEventsManagerCapturePointer) | |
Dispose | Dispose method unsubscribed this InputEventsManager from all events on the EventsSourceElement. | |
EndPointerCapture |
EndPointerCapture end the pointer or mouse capture that was started by calling the CapturePointer method.
This method must be overriden by a derived class to provide any functionality.
(Overrides ManualInputEventsManagerEndPointerCapture) |