Share via

FrameworkElement.FocusVisualSecondaryThickness Property


Gets or sets the thickness of the inner border of a HighVisibility or Reveal focus visual for a FrameworkElement.

 property Thickness FocusVisualSecondaryThickness { Thickness get(); void set(Thickness value); };
Thickness FocusVisualSecondaryThickness();

void FocusVisualSecondaryThickness(Thickness value);
public Thickness FocusVisualSecondaryThickness { get; set; }
var thickness = frameworkElement.focusVisualSecondaryThickness;
frameworkElement.focusVisualSecondaryThickness = thickness;
Public Property FocusVisualSecondaryThickness As Thickness

Property Value

The thickness of the inner border of a HighVisibility focus visual. The default value is 1.


<Button Content="Button"


HighVisibility and Reveal focus visuals are rendered with an outer (primary) and inner (secondary) border.

For more info, see High Visibility Focus Visuals and Reveal focus.

Applies to

See also