AdornerPanel.OnPreviewGotKeyboardFocus Method

Invoked when an unhandled Keyboard.PreviewGotKeyboardFocus attached event reaches an element in its route that is derived from this class..

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Protected Overrides Sub OnPreviewGotKeyboardFocus ( _
    e As KeyboardFocusChangedEventArgs _
)
protected override void OnPreviewGotKeyboardFocus(
    KeyboardFocusChangedEventArgs e
)
protected:
virtual void OnPreviewGotKeyboardFocus(
    KeyboardFocusChangedEventArgs^ e
) override
abstract OnPreviewGotKeyboardFocus : 
        e:KeyboardFocusChangedEventArgs -> unit 
override OnPreviewGotKeyboardFocus : 
        e:KeyboardFocusChangedEventArgs -> unit 
protected override function OnPreviewGotKeyboardFocus(
    e : KeyboardFocusChangedEventArgs
)

Parameters

Remarks

AdornerPanel overrides this preview event to disallow focus if IsContentFocusable is false.

.NET Framework Security

See Also

Reference

AdornerPanel Class

Microsoft.Windows.Design.Interaction Namespace

Other Resources

Adorner Architecture

Feature Providers and Feature Connectors