Partager 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

AutoCompleteTextBox()

Initializes a new instance of the AutoCompleteTextBox class.

Fields

AutoCompleteSourceProperty

Backing store for AutoCompleteSource.

DisplayCompletionListOnEmptyProperty

Backing store for DisplayCompletionListOnEmpty.

MaxItemsProperty

Backing store for MaxItems.

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