Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

LayoutViewOptionsPrint.MaxCardColumns Property

Gets or sets the maximum number of columns in the print/export output. This option is in effect when cards are arranged in multiple columns (the LayoutViewOptionsPrint.PrintMode property is set to MultiColumn).

Namespace: DevExpress.XtraGrid.Views.Layout

Assembly: DevExpress.XtraGrid.v24.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

#Declaration

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

#Property Value

Type Default Description
Int32 0

An integer value that specifies the maximum number of columns in the print/export output.

#Property Paths

You can access this nested property as listed below:

Object Type Path to MaxCardColumns
LayoutView
.OptionsPrint .MaxCardColumns

#Remarks

If the MaxCardColumns property is set to 0, the maximum number of columns is not limited.

See Also