Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

RibbonToggleButton.OnLostKeyboardFocus Method

.NET Framework 4.6 and 4.5

Provides class handling for the LostKeyboardFocus event and disables the keyboard focus visual when this control loses keyboard focus.

Namespace:  System.Windows.Controls.Ribbon
Assembly:  System.Windows.Controls.Ribbon (in System.Windows.Controls.Ribbon.dll)

protected override void OnLostKeyboardFocus(
	KeyboardFocusChangedEventArgs e
)

This method overrides the default behavior and disables the keyboard focus visual when this control loses keyboard focus.

This implementation does not change the handled state (the RoutedEventArgs.Handled property) of the LostKeyboardFocus event data.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft