Share via


AutoCompleteTextBox Class

Definition

Interaction logic for AutoCompleteTextBox.xaml.

public ref class AutoCompleteTextBox : System::Windows::Controls::TextBox, System::Windows::Markup::IComponentConnector
public class AutoCompleteTextBox : System.Windows.Controls.TextBox, System.Windows.Markup.IComponentConnector
type AutoCompleteTextBox = class
    inherit TextBox
    interface IComponentConnector
Public Class AutoCompleteTextBox
Inherits TextBox
Implements IComponentConnector
Inheritance
AutoCompleteTextBox
Derived
Implements

Constructors

Name Description
AutoCompleteTextBox()

Initializes a new instance of the AutoCompleteTextBox class.

Fields

Name Description
AutoCompleteSourceProperty

Backing store for AutoCompleteSource.

DisplayCompletionListOnEmptyProperty

Backing store for DisplayCompletionListOnEmpty.

MaxItemsProperty

Backing store for MaxItems.

Properties

Name Description
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

Name Description
CommitItem()

Commits the currently selected item.

DismissCompletionList()

Dismisses the completion list.

DisplayCompletionList()

Displays the completion list.

InitializeComponent()

InitializeComponent

Events

Name Description
ItemCommitted

Indicates that an item was committed.

Applies to