New to Telerik UI for WPFStart a free 30-day trial

Represents a control that provides functionality for autocompleting user input using a list of items.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Input.dll

Syntax:

C#
public class AutoCompleteBoxesItemsControl : ItemsControl

Inheritance: objectAutoCompleteBoxesItemsControl

Constructors

Initializes a new instance of the AutoCompleteBoxesItemsControl class.

C#
public AutoCompleteBoxesItemsControl()

Fields

BoxesItemStyleProperty

DependencyProperty

Identifies the BoxesItemStyle dependency property.

C#
public static readonly DependencyProperty BoxesItemStyleProperty

Identifies the BoxesItemStyleSelector dependency property.

C#
public static readonly DependencyProperty BoxesItemStyleSelectorProperty

BoxesItemTemplateProperty

DependencyProperty

Identifies the BoxesItemTemplate dependency property.

C#
public static readonly DependencyProperty BoxesItemTemplateProperty

Identifies the BoxesItemTemplateSelector dependency property.

C#
public static readonly DependencyProperty BoxesItemTemplateSelectorProperty

Properties

Gets or sets the style for items in the AutoCompleteBox.

C#
public Style BoxesItemStyle { get; set; }

Provides custom styling for items in the AutoCompleteBox by selecting the appropriate style based on specific criteria.

C#
public StyleSelector BoxesItemStyleSelector { get; set; }

BoxesItemTemplate

DataTemplate

Gets or sets the template used for the items in the AutoCompleteBox.

C#
public DataTemplate BoxesItemTemplate { get; set; }

BoxesItemTemplateSelector

DataTemplateSelector

Provides a data template selector for the items in an AutoCompleteBox, allowing for different templates to be applied based on the data type or content of the items.

C#
public DataTemplateSelector BoxesItemTemplateSelector { get; set; }

Methods

Gets the container for the specified item in the AutoCompleteBox.

C#
protected override DependencyObject GetContainerForItemOverride()
Returns:

DependencyObject

C#
protected override void OnItemTemplateSelectorChanged(DataTemplateSelector oldItemTemplateSelector, DataTemplateSelector newItemTemplateSelector)
Parameters:oldItemTemplateSelectorDataTemplateSelectornewItemTemplateSelectorDataTemplateSelector

Prepares the specified element to display the specified item in the AutoCompleteBox.

C#
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters:elementDependencyObjectitemobject