IInputRoot Interface

Defines the interface for top-level input elements.

Definition

Namespace: Avalonia.Input
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
[NotClientImplementableAttribute]
public interface IInputRoot : IInputElement
Implements
IInputElement

Properties

Cursor Gets or sets the associated mouse cursor.
(Inherited from IInputElement)
Focusable Gets or sets a value indicating whether the control can receive keyboard focus.
(Inherited from IInputElement)
FocusManager Gets focus manager of the root.
IsEffectivelyEnabled Gets a value indicating whether this control and all its parents are enabled.
(Inherited from IInputElement)
IsEffectivelyVisible Gets a value indicating whether this control and all its parents are visible.
(Inherited from IInputElement)
IsEnabled Gets or sets a value indicating whether the control is enabled for user interaction.
(Inherited from IInputElement)
IsFocused Gets a value indicating whether the control is focused.
(Inherited from IInputElement)
IsHitTestVisible Gets a value indicating whether the control is considered for hit testing.
(Inherited from IInputElement)
IsKeyboardFocusWithin Gets a value indicating whether keyboard focus is anywhere within the element or its visual tree child elements.
(Inherited from IInputElement)
IsPointerOver Gets a value indicating whether the pointer is currently over the control.
(Inherited from IInputElement)
KeyBindings Gets the key bindings for the element.
(Inherited from IInputElement)
KeyboardNavigationHandler Gets or sets the keyboard navigation handler.
PlatformSettings Represents a contract for accessing top-level platform-specific settings.
PointerOverElement Gets or sets the input element that the pointer is currently over.
ShowAccessKeys Gets or sets a value indicating whether access keys are shown in the window.

Methods

AddHandler(RoutedEvent, Delegate, RoutingStrategies, Boolean) Adds a handler for the specified routed event.
(Inherited from IInputElement)
Focus(NavigationMethod, KeyModifiers) Focuses the control.
(Inherited from IInputElement)
RaiseEvent(RoutedEventArgs) Raises a routed event.
(Inherited from IInputElement)
RemoveHandler(RoutedEvent, Delegate) Removes a handler for the specified routed event.
(Inherited from IInputElement)

Events

GotFocus Occurs when the control receives focus.
(Inherited from IInputElement)
KeyDown Occurs when a key is pressed while the control has focus.
(Inherited from IInputElement)
KeyUp Occurs when a key is released while the control has focus.
(Inherited from IInputElement)
LostFocus Occurs when the control loses focus.
(Inherited from IInputElement)
PointerEntered Occurs when the pointer enters the control.
(Inherited from IInputElement)
PointerExited Occurs when the pointer leaves the control.
(Inherited from IInputElement)
PointerMoved Occurs when the pointer moves over the control.
(Inherited from IInputElement)
PointerPressed Occurs when the pointer is pressed over the control.
(Inherited from IInputElement)
PointerReleased Occurs when the pointer is released over the control.
(Inherited from IInputElement)
PointerWheelChanged Occurs when the mouse wheel is scrolled over the control.
(Inherited from IInputElement)
TextInput Occurs when a user typed some text while the control has focus.
(Inherited from IInputElement)

Extension Methods

GetInputElementsAt(Point) Returns the active input elements at a point on an IInputElement.
(Defined by InputExtensions)
GetInputElementsAt(Point, Boolean) Returns the active input elements at a point on an IInputElement.
(Defined by InputExtensions)
InputHitTest(Point) Returns the topmost active input element at a point on an IInputElement.
(Defined by InputExtensions)
InputHitTest(Point, Boolean) Returns the topmost active input element at a point on an IInputElement.
(Defined by InputExtensions)
InputHitTest(Point, FuncVisual, Boolean) Returns the topmost active input element at a point on an IInputElement.
(Defined by InputExtensions)
InputHitTest(Point, FuncVisual, Boolean, Boolean) Returns the topmost active input element at a point on an IInputElement.
(Defined by InputExtensions)

See Also