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.v20.1.dll

Declaration

[DefaultValue(0)]
[XtraSerializableProperty]
public virtual int MaxCardRows { get; set; }
<DefaultValue(0)>
<XtraSerializableProperty>
Public Overridable Property MaxCardRows As Integer

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