Back to Devexpress

LayoutViewOptionsPrint.MaxCardColumns Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-layout-dot-layoutviewoptionsprint.md

latest2.3 KB
Original Source

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.v25.2.dll

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

Declaration

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

Property Value

TypeDefaultDescription
Int320

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 TypePath to MaxCardColumns
LayoutView

.OptionsPrint .MaxCardColumns

|

Remarks

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

See Also

PrintMode

MaxCardRows

LayoutViewOptionsPrint Class

LayoutViewOptionsPrint Members

DevExpress.XtraGrid.Views.Layout Namespace