Skip to main content
A newer version of this page is available. .

LayoutViewOptionsMultiRecordMode.MaxCardRows Property

Gets or sets the maximum number of rows displayed in the View. This option is in effect when multiple rows are allowed to be displayed (in Column, MultiColumn and MultiRow view modes).

Namespace: DevExpress.XtraGrid.Views.Layout

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

[DefaultValue(0)]
[XtraSerializableProperty]
public virtual int MaxCardRows { get; set; }

Property Value

Type Default Description
Int32 0

An integer value that specifies the maximum number of rows displayed in the View.

Property Paths

You can access this nested property as listed below:

Object Type Path to MaxCardRows
LayoutView
.OptionsMultiRecordMode.MaxCardRows

Remarks

When the LayoutViewOptionsView.ViewMode property is set to Column, MultiColumn or MultiRow, the LayoutView allows multiple cards to be arranged vertically. By default, the MaxCardRows property is set to 0, and so the View displays the maximum number of rows that it can arrange. To limit the maximum number of rows, set the MaxCardRows property to a corresponding value. To limit the maximum number of columns, use the LayoutViewOptionsMultiRecordMode.MaxCardColumns property.

See Also