FrameworkElement.FocusVisualPrimaryThickness Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the thickness of the outer border of a HighVisibility
or Reveal
focus visual for a FrameworkElement.
public:
property Thickness FocusVisualPrimaryThickness { Thickness get(); void set(Thickness value); };
Thickness FocusVisualPrimaryThickness();
void FocusVisualPrimaryThickness(Thickness value);
public Thickness FocusVisualPrimaryThickness { get; set; }
var thickness = frameworkElement.focusVisualPrimaryThickness;
frameworkElement.focusVisualPrimaryThickness = thickness;
Public Property FocusVisualPrimaryThickness As Thickness
The thickness of the outer border of a HighVisibility focus visual. The default is 2
.
<Button Content="Button"
FocusVisualPrimaryThickness="2"/>
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.
Produkt | Wersje |
---|---|
Windows App SDK | 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6 |