AdornerPanel.OnPreviewGotKeyboardFocus-Methode

Wird aufgerufen, wenn ein nicht behandeltes, angefügtes Keyboard.PreviewGotKeyboardFocus-Ereignis beim Durchlauf ein von dieser Klasse abgeleitetes Element erreicht.

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
)

Parameter

Hinweise

AdornerPanel überschreibt dieses Vorschauereignis, um den Fokus nicht zuzulassen, wenn IsContentFocusable den Wert false hat.

.NET Framework-Sicherheit

Siehe auch

Referenz

AdornerPanel Klasse

Microsoft.Windows.Design.Interaction-Namespace

Weitere Ressourcen

Adorner-Architektur

Featureanbieter und Featureverbindungen