Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- e
Type: System.Windows.Input.KeyboardFocusChangedEventArgs
The KeyboardFocusChangedEventArgs that contains the event data.
Remarks
AdornerPanel overrides this preview event to disallow focus if IsContentFocusable is false.
.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.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace