AutoSuggestEdit.ItemsPanel Property
In This Article
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 |
---|---|
Items |
A 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