Delen via


SearchTextBox.OnGotKeyboardFocus Method

Called when this text box gets the keyboard focus.

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

    Event argument.

.NET Framework Security

See Also

Reference

SearchTextBox Class

Microsoft.VisualStudio.PlatformUI Namespace