Back to Devexpress

LayoutViewOptionsPrint.PrintMode Property

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

latest2.8 KB
Original Source

LayoutViewOptionsPrint.PrintMode Property

Gets or sets the card layout when the View is printed/exported.

Namespace : DevExpress.XtraGrid.Views.Layout

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[DefaultValue(LayoutViewPrintMode.Default)]
[XtraSerializableProperty]
public virtual LayoutViewPrintMode PrintMode { get; set; }
vb
<DefaultValue(LayoutViewPrintMode.Default)>
<XtraSerializableProperty>
Public Overridable Property PrintMode As LayoutViewPrintMode

Property Value

TypeDefaultDescription
LayoutViewPrintModeDefault

A LayoutViewPrintMode value that specifies the card layout in the print/export output.

|

Available values:

NameDescription
Default

Currently, this option is the same as the LayoutViewPrintMode.MultiColumn option.

| | Row |

Cards are arranged in a single row.

| | Column |

Cards are arranged in a single column.

| | MultiRow |

Cards are arranged in multiple rows.

| | MultiColumn |

Cards are arranged in multiple columns.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to PrintMode
LayoutView

.OptionsPrint .PrintMode

|

Remarks

If the PrintMode property is set to Default , cards are arranged in multiple columns when the View is printed/exported.

To specify the card layout that is applied when the View is displayed onscreen, use the LayoutViewOptionsView.ViewMode property.

See Also

ViewMode

LayoutViewOptionsPrint Class

LayoutViewOptionsPrint Members

DevExpress.XtraGrid.Views.Layout Namespace