ListBoxEdit.ItemsPanel Property
In This Article
Gets or sets the template that defines the presentation of a container panel used by the editor to arrange its items. This is a dependency property.
Namespace: DevExpress.Xpf.Editors
Assembly: DevExpress.Xpf.Core.v14.2.dll
#Declaration
#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. In this instance, vertical scrolling is performed item by item. To activate per-pixel scrolling, do the following:
<dxe:ListBoxEdit Name="lbEdit1"
Width="150" Height="100">
<dxe:ListBoxEdit.ItemsPanel>
<ItemsPanelTemplate>
<StackPanel Orientation="Vertical"/>
</ItemsPanelTemplate>
</dxe:ListBoxEdit.ItemsPanel>
</dxe:ListBoxEdit>
See Also