RibbonCheckBox.OnLostKeyboardFocus Method
Provides class handling for the LostKeyboardFocus event and disables the keyboard focus visual when this control loses keyboard focus.
Namespace: Microsoft.Windows.Controls.Ribbon
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Protected Overrides Sub OnLostKeyboardFocus ( _
e As KeyboardFocusChangedEventArgs _
)
protected override void OnLostKeyboardFocus(
KeyboardFocusChangedEventArgs e
)
protected:
virtual void OnLostKeyboardFocus(
KeyboardFocusChangedEventArgs^ e
) override
abstract OnLostKeyboardFocus :
e:KeyboardFocusChangedEventArgs -> unit
override OnLostKeyboardFocus :
e:KeyboardFocusChangedEventArgs -> unit
protected override function OnLostKeyboardFocus(
e : KeyboardFocusChangedEventArgs
)
Parameters
- e
Type: System.Windows.Input.KeyboardFocusChangedEventArgs
The event data.
Remarks
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 Handled property) of the LostKeyboardFocus event data.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.