wpf-devexpress-dot-xpf-dot-bars-dot-gallerycontrol.md
Gets or sets the gallery displayed by the GalleryControl.
Namespace : DevExpress.Xpf.Bars
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public Gallery Gallery { get; set; }
Public Property Gallery As Gallery
| Type | Description |
|---|---|
| Gallery |
A Gallery object displayed by the GalleryControl.
|
Use the Gallery property to assign a Gallery object to the GalleryControl. Visual settings (the number of visible columns, gallery groups, etc.) are specified by the assigned object.
The following code snippets (auto-collected from DevExpress Examples) contain references to the Gallery 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-mvvm-behaviors-gallery-based-theme-selector/CS/GalleryThemeSelectorBehavior/MainWindow.xaml#L13
<dxb:GalleryControl>
<dxb:GalleryControl.Gallery>
<dxb:Gallery
create-wpf-gallery-control/CS/GalleryControl_Ex/MainWindow.xaml#L15
<dxb:GalleryControl>
<dxb:GalleryControl.Gallery>
<dxb:Gallery ColCount="2"
See Also