Back to Devexpress

XRCrossTabCell.RowVisible Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-crosstab-dot-xrcrosstabcell-4caf76c8.md

latest2.4 KB
Original Source

XRCrossTabCell.RowVisible Property

Specifies whether to print the entire row in which a cell is located.

Namespace : DevExpress.XtraReports.UI.CrossTab

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
[DefaultValue(true)]
[SRCategory(ReportStringId.CatBehavior)]
public bool RowVisible { get; set; }
vb
<DefaultValue(True)>
<SRCategory(ReportStringId.CatBehavior)>
Public Property RowVisible As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true to print the column that contains a cell; otherwise, false.

|

Remarks

The RowVisible property allows you to hide a cell or the entire row in the CrossTab control.

Select a cell and disable the RowVisible property to hide the entire row. At design time, invisible cells are painted with a hatch brush.

If a cell spans two or more rows (the RowSpan property value is greater than 1), the RowVisible property applies to all columns in a span.

Hide Grand Totals

Use the RowVisible property to hide the entire row, as the following image illustrates:

Hide Cells or Rows That Meet Certain Conditions

You can bind an expression to the RowVisible property and hide certain cells or rows that meet certain criteria. This means that you can hide empty rows with zero or null values.

View Example: How to Hide Cells, Rows and Columns That Meet Certain Conditions

See Also

XRCrossTabCell Class

XRCrossTabCell Members

DevExpress.XtraReports.UI.CrossTab Namespace