xtrareports-devexpress-dot-xtrareports-dot-ui-dot-crosstab-dot-xrcrosstabcell-86e4bc8e.md
Specifies whether to print the entire column in which a cell is located.
Namespace : DevExpress.XtraReports.UI.CrossTab
Assembly : DevExpress.XtraReports.v25.2.dll
NuGet Package : DevExpress.Reporting.Core
[DefaultValue(true)]
[SRCategory(ReportStringId.CatBehavior)]
public bool ColumnVisible { get; set; }
<DefaultValue(True)>
<SRCategory(ReportStringId.CatBehavior)>
Public Property ColumnVisible As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true to print the column that contains a cell; otherwise, false.
|
The ColumnVisible property allows you to hide a cell or the entire column in the CrossTab control.
Select a cell and disable the ColumnVisible property to hide the entire column. At design time, invisible cells are painted with a hatch brush.
If a cell spans two or more columns (the ColumnSpan property value is greater than 1), the ColumnVisible property applies to all columns in a span.
Use the ColumnVisible property to hide the entire column, as the following image illustrates:
You can bind an expression to the ColumnVisible property and hide certain cells or columns that meet certain criteria. This means that you can hide empty columns with zero or null values.
View Example: How to Hide Cells, Rows and Columns That Meet Certain Conditions
See Also