Table of Contents

Interface IInputRoot

Namespace
Avalonia.Input
Assembly
Avalonia.Base.dll

Defines the interface for top-level input elements.

[NotClientImplementable]
public interface IInputRoot : IInputElement
Inherited Members
Extension Methods

Properties

FocusManager

Gets focus manager of the root.

IFocusManager? FocusManager { get; }

Property Value

IFocusManager

Remarks

Focus manager can be null only if window wasn't initialized yet.

KeyboardNavigationHandler

Gets or sets the keyboard navigation handler.

IKeyboardNavigationHandler? KeyboardNavigationHandler { get; }

Property Value

IKeyboardNavigationHandler

PlatformSettings

Represents a contract for accessing top-level platform-specific settings.

IPlatformSettings? PlatformSettings { get; }

Property Value

IPlatformSettings

Remarks

PlatformSettings can be null only if window wasn't initialized yet.

PointerOverElement

Gets or sets the input element that the pointer is currently over.

IInputElement? PointerOverElement { get; set; }

Property Value

IInputElement

ShowAccessKeys

Gets or sets a value indicating whether access keys are shown in the window.

bool ShowAccessKeys { get; set; }

Property Value

bool