wpf-devexpress-dot-xpf-dot-bars-dot-gallery-f3b776f4.md
Gets or sets the template used to display a gallery item’s GalleryItem.Description. This is a dependency property.
Namespace : DevExpress.Xpf.Bars
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public DataTemplate ItemDescriptionTemplate { get; set; }
Public Property ItemDescriptionTemplate As DataTemplate
| Type | Description |
|---|---|
| DataTemplate |
A DataTemplate that defines the visualization of a gallery item’s GalleryItem.Description.
|
See the Data Templating Overview topic to learn more.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ItemDescriptionTemplate 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.
create-wpf-gallery-control/CS/GalleryControl_Ex/MainWindow.xaml#L23
FilterCaption="(click to filter groups)"
ItemDescriptionTemplate="{StaticResource ResourceKey=myItemDescriptionTemplate}"
ItemContentHorizontalAlignment="Left"
See Also