FrameworkElement.FocusVisualPrimaryBrush FrameworkElement.FocusVisualPrimaryBrush FrameworkElement.FocusVisualPrimaryBrush FrameworkElement.FocusVisualPrimaryBrush Property

Definition

Gets or sets the brush used to draw the outer border of a HighVisibility focus visual for a FrameworkElement.

public : Brush FocusVisualPrimaryBrush { get; set; }
Brush FocusVisualPrimaryBrush();

void FocusVisualPrimaryBrush(Brush focusvisualprimarybrush);
public Brush FocusVisualPrimaryBrush { get; set; }
Public ReadWrite Property FocusVisualPrimaryBrush As Brush
Property Value

The brush used to draw the outer border of a HighVisibility focus visual.

The default colors are dependent on the RequestedTheme. Typically, the outer (primary) color is solid black, or equivalent, and the inner (secondary) color is solid white, or equivalent.

Additional features and requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Remarks

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