wpf-devexpress-dot-xpf-dot-bars-dot-gallery-1a11ce1b.md
Gets or sets whether gallery groups captions (GalleryItemGroup.Caption) are visible in the current gallery. This is a dependency property.
Namespace : DevExpress.Xpf.Bars
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public DefaultBoolean IsGroupCaptionVisible { get; set; }
Public Property IsGroupCaptionVisible As DefaultBoolean
| Type | Description |
|---|---|
| DefaultBoolean |
A DefaultBoolean value that specifies the visibility of gallery groups captions.
|
Available values:
| Name | Description | Return Value |
|---|---|---|
| True |
The value is true.
|
0
| | False |
The value is false.
|
1
| | Default |
The value is specified by a global option or a higher-level object.
|
2
|
If the IsGroupCaptionVisible property is set to Default, the visibility of gallery groups captions is different for different containers:
You can use the GalleryItemGroup.IsCaptionVisible property to control the visibility of captions for individual groups, overriding the IsGroupCaptionVisible setting.
The following code snippets (auto-collected from DevExpress Examples) contain references to the IsGroupCaptionVisible 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-ribboncontrol/CS/RibbonControl_Ex/MainWindow.xaml#L213
ItemCheckMode="Single"
IsGroupCaptionVisible="False"
IsItemCaptionVisible="False"
<dxr:RibbonGalleryBarItem.Gallery>
<dxb:Gallery ColCount="6" GroupTemplate="{Binding ChartLayoutGalleryGroupTemplate, Mode=OneTime, Source={StaticResource defaultBarItemTemplates}}" GroupsSource="{Binding ChartLayoutGalleryGroups, ElementName=spreadsheetControl}" IsItemGlyphVisible="True" IsGroupCaptionVisible="False" IsItemDescriptionVisible="False" MinColCount="3" />
</dxr:RibbonGalleryBarItem.Gallery>
<dxr:RibbonGalleryBarItem.Gallery>
<dxb:Gallery ColCount="6" GroupTemplate="{Binding ChartLayoutGalleryGroupTemplate, Mode=OneTime, Source={StaticResource defaultBarItemTemplates}}" GroupsSource="{Binding ChartLayoutGalleryGroups, ElementName=spreadsheetControl}" IsItemGlyphVisible="True" IsGroupCaptionVisible="False" IsItemDescriptionVisible="False" MinColCount="3" />
</dxr:RibbonGalleryBarItem.Gallery>
create-wpf-gallery-control/CS/GalleryControl_Ex/MainWindow.xaml#L18
ItemCheckMode="None"
IsGroupCaptionVisible="True"
IsItemCaptionVisible="True"
See Also