Getting Started with Keyboard Focus Visual for WPF Controls
15 Jul 20211 minute to read
The WPF Skin Manager allows you to apply various keyboard focus visual styles for both Syncfusion and Framework controls using the FocusVisualKind property.
The FocusVisualKind enum contains the following values:
-
Default
- The default keyboard focus visual style will be applied. -
HighVisibility
- High visibility keyboard visual feedback is an effect that shows a border for focusable elements when the user moves the keyboard focus to that element.
NOTE
The
HighVisibility
keyboard focus visual is enabled by default in the Fluent theme.
public partial class MainWindow : ChromelessWindow
{
public MainWindow()
{
SfSkinManager.SetTheme(this, new Theme() { ThemeName = "MaterialDark", FocusVisualKind = FocusVisualKind.HighVisibility });
InitializeComponent();
}
}
NOTE