Back to Devexpress

GalleryItemGroup.IsCaptionVisible Property

wpf-devexpress-dot-xpf-dot-bars-dot-galleryitemgroup-afb65431.md

latest4.3 KB
Original Source

GalleryItemGroup.IsCaptionVisible Property

Gets or sets whether the group’s caption (GalleryItemGroup.Caption) is visible. This is a dependency property.

Namespace : DevExpress.Xpf.Bars

Assembly : DevExpress.Xpf.Core.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public DefaultBoolean IsCaptionVisible { get; set; }
vb
Public Property IsCaptionVisible As DefaultBoolean

Property Value

TypeDescription
DefaultBoolean

A DefaultBoolean value that specifies the visibility of the group’s caption.

|

Available values:

NameDescriptionReturn 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

|

Remarks

If the IsCaptionVisible property is set to Default, the visibility of the group’s caption is specified by the Gallery.IsGroupCaptionVisible property. Otherwise, the visibility of the group’s caption is specified by the IsCaptionVisible property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the IsCaptionVisible 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-spreadsheet-assign-custom-in-place-editors/CS/WpfSpreadsheet_CustomCellEditors/MainWindow.xaml#L521

xml
<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}}" />

wpf-spreadsheet-bind-spreadsheet-to-ms-sql-server-database/CS/WpfSpreadsheet_BindToDataSource/MainWindow.xaml#L523

xml
<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}}" />

See Also

Caption

IsGroupCaptionVisible

GroupCaptionTemplate

GalleryItemGroup Class

GalleryItemGroup Members

DevExpress.Xpf.Bars Namespace