Skip to main content

XRTable.ProcessHiddenCellMode Property

Specifies how to distribute the space that remains after some of the row’s visible cells are hidden. Affects only the table row whose cells were hidden.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v24.1.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

[DefaultValue(ProcessHiddenCellMode.LeaveEmptySpace)]
[SRCategory(ReportStringId.CatBehavior)]
public ProcessHiddenCellMode ProcessHiddenCellMode { get; set; }

Property Value

Type Default Description
ProcessHiddenCellMode LeaveEmptySpace

An enumeration value that specifies how to distribute the space.

Remarks

This property is in effect for cells that are hidden in one of the following ways:

The table below demonstrates how the space from hidden cells is distributed.

Mode

Description

Cell is visible

The following image illustrates what the original table looks like:

table-hidden-cell-mode-initial-layout

StretchNextCell

A cell located to the right of the hidden cell is stretched to occupy the available space. If the hidden cell is the last in the row, the previous cell is stretched.

table-hidden-cell-mode-stretch-next-cell

StretchPreviousCell

A cell located to the left of the hidden cell is stretched to occupy the available space. If the hidden cell is the first in the row, the next cell is stretched.

table-hidden-cell-mode-stretch-previous-cell

ResizeCellsEqually

All visible cells are resized to equally divide the available space.

table-hidden-cell-mode-resize-cells-equally

ResizeCellsProportionally

All visible cells are resized to proportionally divide the space that the hidden cell occupied based on their weights in the whole table width.

table-hidden-cell-mode-resize-cells-proportionally

DecreaseTableWidth

The table width is decreased and visible cells are shifted to the hidden cell’s location but cell sizes don’t change.

table-hidden-cell-mode-decrease-table-width

LeaveEmptySpace

(the default mode)

Empty space remains at the hidden cell’s location and other cells are not affected.

table-hidden-cell-mode-leave-empty-space

See the Hiding Table Cells topic for more information.

See Also