A cross-platform UI framework for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

32 lines
922 B

// Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
namespace Avalonia.Input
{
/// <summary>
/// Defines the method by which a focus change occurred.
/// </summary>
public enum NavigationMethod
{
/// <summary>
/// The focus was changed by an unspecified method, e.g. calling
/// <see cref="InputElement.Focus"/>.
/// </summary>
Unspecified,
/// <summary>
/// The focus was changed by the user tabbing between control.
/// </summary>
Tab,
/// <summary>
/// The focus was changed by the user pressing a directional navigation key.
/// </summary>
Directional,
/// <summary>
/// The focus was changed by a pointer click.
/// </summary>
Pointer,
}
}