wpf-devexpress-dot-xpf-dot-bars-dot-gallery-4cbcf697.md
Gets or sets whether descriptions are displayed for gallery items. This is a dependency property.
Namespace : DevExpress.Xpf.Bars
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public bool IsItemDescriptionVisible { get; set; }
Public Property IsItemDescriptionVisible As Boolean
| Type | Description |
|---|---|
| Boolean |
true if descriptions are displayed for gallery items; otherwise, false.
|
Use the GalleryItem.Caption and GalleryItem.Description properties to specify captions and descriptions for gallery items. The visibility of the captions and descriptions are specified by the Gallery.IsItemCaptionVisible and Gallery.IsItemDescriptionVisible properties, respectively.
The following code snippets (auto-collected from DevExpress Examples) contain references to the IsItemDescriptionVisible 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.
<dxr:GalleryDropDownPopupMenu.Gallery>
<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">
<dxr:GalleryDropDownPopupMenu.Gallery>
<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">
wpf-create-a-ribboncontrol/CS/RibbonControl_Ex/MainWindow.xaml#L215
IsItemCaptionVisible="False"
IsItemDescriptionVisible="False"
ItemChecked="FontFamilyGallery_ItemChecked"
wpf-mvvm-behaviors-gallery-based-theme-selector/CS/GalleryThemeSelectorBehavior/MainWindow.xaml#L17
IsItemCaptionVisible="True"
IsItemDescriptionVisible="True"
ItemAutoWidth="True">
create-wpf-gallery-control/CS/GalleryControl_Ex/MainWindow.xaml#L20
IsItemCaptionVisible="True"
IsItemDescriptionVisible="True"
ItemClick="Gallery_ItemClick"
See Also
IsItemDescriptionVisible