Share via


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: KeyboardFocusChangedEventArgs

    The event data for the KeyboardFocusChanged event.

.NET Framework Security

See Also

Reference

SearchControl Class

Microsoft.VisualStudio.PlatformUI Namespace