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

CardView.MaximumCardColumns Property

Gets or sets the maximum number of card columns which can be displayed simultaneously within a View.

Namespace: DevExpress.XtraGrid.Views.Card

Assembly: DevExpress.XtraGrid.v19.1.dll

Declaration

[DefaultValue(-1)]
[XtraSerializableProperty]
[DXCategory("Appearance")]
public int MaximumCardColumns { get; set; }

Property Value

Type Default Description
Int32 -1

The maximum number of card columns displayed simultaneously within a View.

Remarks

Cards are arranged in rows and columns. The number of visible rows is determined by the View height and it can be limited with the CardView.MaximumCardRows property. Similarly, the number of visible columns is determined by the View width and it can be limited with the MaximumCardColumns property.

The MaximumCardColumns property is most often used when the auto width feature (CardOptionsBehavior.AutoHorzWidth) is enabled. See the Card and Layout Views topic to learn more.

See Also