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.v24.1.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
Declaration
[DefaultValue(-1)]
[DXCategory("Appearance")]
[XtraSerializableProperty]
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.