Class InputContext
- Namespace
- Myra.Graphics2D.UI
- Assembly
- Myra.dll
Provides context information for mouse and touch input handling in the UI.
public class InputContext
- Inheritance
-
InputContext
- Inherited Members
Properties
MouseOrTouchHandled
Gets or sets a value indicating whether the current mouse or touch input has been handled.
public bool MouseOrTouchHandled { get; set; }
Property Value
MouseWheelWidget
Gets or sets the widget that will receive mouse wheel events.
public Widget MouseWheelWidget { get; set; }
Property Value
ParentContainsMouse
Gets or sets a value indicating whether the parent widget contains the mouse cursor.
public bool ParentContainsMouse { get; set; }
Property Value
ParentContainsTouch
Gets or sets a value indicating whether the parent widget contains a touch point.
public bool ParentContainsTouch { get; set; }
Property Value
Methods
Reset()
Resets the input context to its default state.
public void Reset()