Share via


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

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

See Also

Reference

RibbonCheckBox Class

Microsoft.Windows.Controls.Ribbon Namespace