Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

AutoSuggestEdit.ItemsPanel Property

Gets or sets the template that defines the panel that controls the layout of items displayed within the editor’s dropdown. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

#Declaration

public ItemsPanelTemplate ItemsPanel { get; set; }

#Property Value

Type Description
ItemsPanelTemplate

A ItemsPanelTemplate object that represents the panel to use for the layout of the items.

#Remarks

By default, the layout of items is defined by the DevExpress.Xpf.Core.DXVirtualizingStackPanel control with the enabled virtualization.

See the ItemsControl.ItemsPanel topic for more information.

#Example

The code sample below demonstrates how to use the standard VirtualizingStackPanel control for the layout of items.

<dxe:AutoSuggestEdit QuerySubmitted="AutoSuggestEdit_QuerySubmitted">
    <dxe:AutoSuggestEdit.ItemsPanel>
        <ItemsPanelTemplate>
            <VirtualizingStackPanel/>
        </ItemsPanelTemplate>
    </dxe:AutoSuggestEdit.ItemsPanel>
</dxe:AutoSuggestEdit>
See Also