Share via

Application.FocusVisualKind Property


Gets or sets the type of visual feedback that an app can use to indicate the UI element with focus.

This property is valid only for input devices that can generate key events, such as a keyboard or game pad.

 property FocusVisualKind FocusVisualKind { FocusVisualKind get(); void set(FocusVisualKind value); };
FocusVisualKind FocusVisualKind();

void FocusVisualKind(FocusVisualKind value);
public FocusVisualKind FocusVisualKind { get; set; }
var focusVisualKind = application.focusVisualKind;
application.focusVisualKind = focusVisualKind;
Public Property FocusVisualKind As FocusVisualKind

Property Value

The type of visual feedback used to indicate the UI element with focus. The default value depends on the operating system.

Windows 10, version 1607 and later HighVisibility

All previous versions DottedLine

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)


HighVisibility focus visuals are rendered with an outer (primary) and inner (secondary) border. For more info:

Applies to