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.
 
 
 

35 lines
1.0 KiB

// -----------------------------------------------------------------------
// <copyright file="NavigationMethod.cs" company="Steven Kirk">
// Copyright 2015 MIT Licence. See licence.md for more information.
// </copyright>
// -----------------------------------------------------------------------
namespace Perspex.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,
}
}