Skip to main content

IInputRoot Interface

Not client implementable.

Note: This interface is not client implementable. You need to enable PrivateApi if you want to implement this interface.

Defines the interface for top-level input elements.

Definition

Namespace: Avalonia.Input
Assembly: Avalonia.Base (in Avalonia.Base.dll)

[NotClientImplementableAttribute]
public interface IInputRoot : IInputElement
View Source
ImplementsIInputElement

Properties

CursorGets or sets the associated mouse cursor.
(Inherited from IInputElement)
FocusableGets or sets a value indicating whether the control can receive keyboard focus.
(Inherited from IInputElement)
FocusManagerGets focus manager of the root.
IsEffectivelyEnabledGets a value indicating whether this control and all its parents are enabled.
(Inherited from IInputElement)
IsEffectivelyVisibleGets a value indicating whether this control and all its parents are visible.
(Inherited from IInputElement)
IsEnabledGets or sets a value indicating whether the control is enabled for user interaction.
(Inherited from IInputElement)
IsFocusedGets a value indicating whether the control is focused.
(Inherited from IInputElement)
IsHitTestVisibleGets a value indicating whether the control is considered for hit testing.
(Inherited from IInputElement)
IsKeyboardFocusWithinGets a value indicating whether keyboard focus is anywhere within the element or its visual tree child elements.
(Inherited from IInputElement)
IsPointerOverGets a value indicating whether the pointer is currently over the control.
(Inherited from IInputElement)
KeyBindingsGets the key bindings for the element.
(Inherited from IInputElement)
KeyboardNavigationHandlerGets or sets the keyboard navigation handler.
PlatformSettingsRepresents a contract for accessing top-level platform-specific settings.
PointerOverElementGets or sets the input element that the pointer is currently over.
ShowAccessKeysGets 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

GotFocusOccurs when the control receives focus.
(Inherited from IInputElement)
KeyDownOccurs when a key is pressed while the control has focus.
(Inherited from IInputElement)
KeyUpOccurs when a key is released while the control has focus.
(Inherited from IInputElement)
LostFocusOccurs when the control loses focus.
(Inherited from IInputElement)
PointerEnteredOccurs when the pointer enters the control.
(Inherited from IInputElement)
PointerExitedOccurs when the pointer leaves the control.
(Inherited from IInputElement)
PointerMovedOccurs when the pointer moves over the control.
(Inherited from IInputElement)
PointerPressedOccurs when the pointer is pressed over the control.
(Inherited from IInputElement)
PointerReleasedOccurs when the pointer is released over the control.
(Inherited from IInputElement)
PointerWheelChangedOccurs when the mouse wheel is scrolled over the control.
(Inherited from IInputElement)
TextInputOccurs 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, Func(Visual, Boolean))Returns the topmost active input element at a point on an IInputElement.
(Defined by InputExtensions)
InputHitTest(Point, Func(Visual, Boolean), Boolean)Returns the topmost active input element at a point on an IInputElement.
(Defined by InputExtensions)

See Also

Reference

Avalonia.Input Namespace