Back to Devexpress

CardOptionsPrint.UsePrintStyles Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-card-dot-cardoptionsprint-ed07cb1c.md

latest2.2 KB
Original Source

CardOptionsPrint.UsePrintStyles Property

Gets or sets whether print styles or View styles are used to print/export the View.

Namespace : DevExpress.XtraGrid.Views.Card

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[DefaultValue(true)]
[XtraSerializableProperty]
public virtual bool UsePrintStyles { get; set; }
vb
<DefaultValue(True)>
<XtraSerializableProperty>
Public Overridable Property UsePrintStyles As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true to use print styles for printing/exporting the grid’s data; false , to use View styles.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to UsePrintStyles
CardView

.OptionsPrint .UsePrintStyles

|

Remarks

To customize print styles, use the View’s CardView.AppearancePrint property. View styles can be customized via the CardView.Appearance property.

See Also

AppearancePrint

Appearance

CardOptionsPrint Class

CardOptionsPrint Members

DevExpress.XtraGrid.Views.Card Namespace