The requested page is not available for the requested platform. You are viewing the content for Default platform.

XRTable.ProcessHiddenCellMode Property

Specifies how to distribute a space remaining after hiding table cells among the table's visible cells.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.1.dll

Declaration

[SRCategory(ReportStringId.CatBehavior)]
[DefaultValue(ProcessHiddenCellMode.LeaveEmptySpace)]
public ProcessHiddenCellMode ProcessHiddenCellMode { get; set; }
<SRCategory(ReportStringId.CatBehavior)>
<DefaultValue(ProcessHiddenCellMode.LeaveEmptySpace)>
Public Property ProcessHiddenCellMode As ProcessHiddenCellMode

Property Value

Type Default Description
ProcessHiddenCellMode

LeaveEmptySpace

A ProcessHiddenCellMode enumeration value.

Remarks

Use the ProcessHiddenCellMode property to specify the modes for processing the space that remains after hiding particular table cells.

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

The table below lists the available modes for processing hidden cells and the result in Print Preview.

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 space that a hidden cell reserved.

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

ResizeCellsProportionally

All visible cells are resized to proportionally divide the space that a hidden cell reserved 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 a hidden cell's location without changing their size.

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

LeaveEmptySpace

(the default mode)

Empty space remains on a 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