FocusVisualKind Enum


Specifies the visual feedback used to indicate the UI element with focus when navigating with a keyboard or gamepad.

public enum class FocusVisualKind
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.WebHostHidden]
enum FocusVisualKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
public enum FocusVisualKind
Public Enum FocusVisualKind
Windows.Foundation.Metadata.ContractVersionAttribute Windows.Foundation.Metadata.WebHostHiddenAttribute


DottedLine 0

A dotted line rectangle. Also known as "marching ants".

The default on Windows 10 November Update (Windows 10 version 1511 - build number 10.0.10586, codenamed "Threshold 2") and earlier.

HighVisibility 1

A solid line rectangle composed of an inner and outer rectangle of contrasting colors.

The default on Windows 10 Anniversary Update (Windows 10 version 1607 - build number 10.0.14393, codenamed "Redstone 1") and earlier.

DottedLine visual is difficult to see in 10-foot experience.

Reveal 2

A solid line rectangle, surrounded by a glowing light effect to simulate depth.

Opt-in feature for Xbox with Windows 10 version 1803 (codenamed "Redstone 4") and later.

Applies to

See also