SearchControl.OnGotKeyboardFocus Method
Provides class handling for receiving focus on the control or any element derived from this control.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Protected Overrides Sub OnGotKeyboardFocus ( _
e As KeyboardFocusChangedEventArgs _
)
protected override void OnGotKeyboardFocus(
KeyboardFocusChangedEventArgs e
)
protected:
virtual void OnGotKeyboardFocus(
KeyboardFocusChangedEventArgs^ e
) override
abstract OnGotKeyboardFocus :
e:KeyboardFocusChangedEventArgs -> unit
override OnGotKeyboardFocus :
e:KeyboardFocusChangedEventArgs -> unit
protected override function OnGotKeyboardFocus(
e : KeyboardFocusChangedEventArgs
)
Parameters
e
Type: KeyboardFocusChangedEventArgsThe event data for the KeyboardFocusChanged event.
.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.