Back to Devexpress

ListBoxEdit.ItemTemplate Property

wpf-devexpress-dot-xpf-dot-editors-dot-listboxedit-6a715234.md

latest3.8 KB
Original Source

ListBoxEdit.ItemTemplate Property

Gets or sets a template that defines the presentation of items contained within the list. This is a dependency property.

Namespace : DevExpress.Xpf.Editors

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public DataTemplate ItemTemplate { get; set; }
vb
Public Property ItemTemplate As DataTemplate

Property Value

TypeDescription
DataTemplate

A DataTemplate object that represents the template which defines the presentation of items contained within the list.

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the ItemTemplate property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-create-a-fluent-design-using-appearance-options/CS/FluentDesignTemplate/ViewResourceDictionary.xaml#L77

xml
</Setter>
<Setter Property="ItemTemplate">
    <Setter.Value>

wpf-grid-scrollbar-annotations/CS/WpfApplication25/MainWindow.xaml#L49

xml
</dxe:ListBoxEdit.StyleSettings>
<dxe:ListBoxEdit.ItemTemplate>
    <DataTemplate>

wpf-scheduler-create-reminders-in-code-and-implement-custom-reminder-window/CS/CustomReminderExample/CustomReminderWindow.xaml#L67

xml
ItemsSource="{Binding TriggeredReminders}"
ItemTemplate="{StaticResource ListBoxItemTemplate}"
SelectionMode="Extended">

wpf-scheduler-obtain-selected-appointment-resource-and-time-interval/CS/DXSchedulerSelection/MainWindow.xaml#L36

xml
<dxe:ListBoxEdit ItemsSource="{DXBinding '@e(schedulerControl).SelectedAppointments'}">
    <dxe:ListBoxEdit.ItemTemplate>
        <DataTemplate>

mvvm-application-with-wpf-bars/CS/Bars_in_MVVM_Application/MainWindow.xaml#L76

xml
SelectedItem="{Binding SelectedIssue}">
<dxe:ListBoxEdit.ItemTemplate>
    <DataTemplate>

See Also

ItemTemplateSelector

ListBoxEdit Class

ListBoxEdit Members

DevExpress.Xpf.Editors Namespace