wpf-devexpress-dot-xpf-dot-bars-6be8735e.md
Represents a group of gallery items within a gallery.
Namespace : DevExpress.Xpf.Bars
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public class GalleryItemGroup :
FrameworkContentElement
Public Class GalleryItemGroup
Inherits FrameworkContentElement
The following members return GalleryItemGroup objects:
A gallery consists of gallery groups which are represented by the GalleryItemGroup objects. A gallery’s groups can be accessed via the Gallery.Groups property. Each gallery group can display multiple gallery items (GalleryItem objects). Use the GalleryItemGroup.Items property to specify gallery items for the gallery group.
The following code snippets (auto-collected from DevExpress Examples) contain references to the GalleryItemGroup class.
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.
<dxb:Gallery ColCount="4" ItemDescriptionHorizontalAlignment="Left" IsItemCaptionVisible="False" IsItemDescriptionVisible="False">
<dxb:GalleryItemGroup x:Name="grpInsertChartColumn2DCommandGroup" Caption="{Binding ConverterParameter=MenuCmd_InsertChartColumn2DCommandGroup, Converter={StaticResource stringIdConverter}, Mode=OneTime, Source={StaticResource stringIdConverter}}" IsCaptionVisible="True">
<dxb:GalleryItem x:Name="biInsertChartColumnClustered2D" Command="{Binding InsertChartColumnClustered2D, Mode=OneTime, Source={StaticResource commands}}" />
<dxb:Gallery AllowFilter="False" ColCount="4" ItemDescriptionHorizontalAlignment="Left" IsItemCaptionVisible="False" IsItemDescriptionVisible="False" SizeMode="None">
<dxb:GalleryItemGroup x:Name="grpInsertChartColumn2DCommandGroup" Caption="{Binding ConverterParameter=MenuCmd_InsertChartColumn2DCommandGroup, Converter={StaticResource stringIdConverter}, Mode=OneTime, Source={StaticResource stringIdConverter}}" IsCaptionVisible="True">
<dxb:GalleryItem x:Name="biInsertChartColumnClustered2D" Command="{Binding InsertChartColumnClustered2D, Mode=OneTime, Source={StaticResource commands}}" />
create-wpf-gallery-control/CS/GalleryControl_Ex/MainWindow.xaml#L27
<dxb:Gallery.Groups>
<dxb:GalleryItemGroup Name="myGalleryGroup1" Caption="Misc Group">
<dxb:GalleryItemGroup.Items>
wpf-create-a-ribboncontrol/CS/RibbonControl_Ex/MainWindow.xaml#L219
<dxb:Gallery.Groups>
<dxb:GalleryItemGroup Name="FontFamilyGalleryGroup" />
</dxb:Gallery.Groups>
Object DispatcherObject DependencyObject ContentElement FrameworkContentElement GalleryItemGroup
See Also