wpf-devexpress-dot-xpf-dot-bars-dot-galleryitemgroup-b07a0a87.md
Gets or sets the collection of gallery items displayed in the current group.
Namespace : DevExpress.Xpf.Bars
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public GalleryItemCollection Items { get; set; }
Public Property Items As GalleryItemCollection
| Type | Description |
|---|---|
| GalleryItemCollection |
A GalleryItemCollection object that stores gallery items displayed in the current group.
|
Use this property to add gallery items to the group. Each item is represented by a GalleryItem class object.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Items 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#L28
<dxb:GalleryItemGroup Name="myGalleryGroup1" Caption="Misc Group">
<dxb:GalleryItemGroup.Items>
<dxb:GalleryItem Caption="Schedule" Description="Show schedule" Glyph="pack://application:,,,/Images/address-16x16.png"/>
See Also