AutoCompleteTextBox Class

Definition

Interaction logic for AutoCompleteTextBox.xaml.

C++
public ref class AutoCompleteTextBox : System::Windows::Controls::TextBox, System::Windows::Markup::IComponentConnector
Inheritance
AutoCompleteTextBox
Derived
Implements

Constructors

AutoCompleteTextBox()

Initializes a new instance of the AutoCompleteTextBox class.

Fields

Properties

AutoCompleteSource

Gets or sets the collection used for the auto complete source.

DisplayCompletionListOnEmpty

Gets a value indicating whether to display the completion list when the textbox gets focus if the text is empty.

FilterPredicate

Gets or sets the filter predicate.

MaxItems

Gets or sets the maximum number of items to display.

Methods

CommitItem()

Commits the currently selected item.

DismissCompletionList()

Dismisses the completion list.

DisplayCompletionList()

Displays the completion list.

InitializeComponent()

InitializeComponent

Events

ItemCommitted

Indicates that an item was committed.

Applies to

Product Versions
Visual Studio SDK 2019, 2022