SearchTextBox Class

Definition

The implementation of the editable part of Visual Studio Common Search Control The class implements selecting all the text in the control when the edit box is focused - see comments in OnGotKeyboardFocus for more details

public ref class SearchTextBox : System::Windows::Controls::TextBox
public class SearchTextBox : System.Windows.Controls.TextBox
type SearchTextBox = class
    inherit TextBox
Public Class SearchTextBox
Inherits TextBox
Inheritance
SearchTextBox

Remarks

See comments in OnGotKeyboardFocus for more details.

Constructors

SearchTextBox()

Creates a new instance of the class.

Fields

FocusRootProperty

The name of the FocusRoot property.

Properties

FocusRoot

Gets or sets the FocusRoot attribute.

Methods

OnDrop(DragEventArgs)

Called when mouse drop occurs in this text box.

OnGotKeyboardFocus(KeyboardFocusChangedEventArgs)

Handles receiving focus on the search box

OnLostMouseCapture(MouseEventArgs)

Called when this text box loses mouse capture.

OnMouseDown(MouseButtonEventArgs)

Called when mouse down occurs in this text box.

OnMouseMove(MouseEventArgs)

Called when mouse move occurs in this text box.

Applies to