LayoutViewOptionsPrint.PrintMode Property
Gets or sets the card layout when the View is printed/exported.
Namespace: DevExpress.XtraGrid.Views.Layout
Assembly: DevExpress.XtraGrid.v24.2.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
#Declaration
[DefaultValue(LayoutViewPrintMode.Default)]
[XtraSerializableProperty]
public virtual LayoutViewPrintMode PrintMode { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Layout |
Default | A Layout |
Available values:
Name | Description |
---|---|
Default | Currently, this option is the same as the Layout |
Row | Cards are arranged in a single row. |
Column | Cards are arranged in a single column. |
Multi |
Cards are arranged in multiple rows. |
Multi |
Cards are arranged in multiple columns. |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Print |
---|---|
Layout |
|
#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.