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

CardView.PrintAutoCardWidth Property

Gets or sets whether to change card width in the printed/exported document to fit the page. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v24.2.dll

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

public bool PrintAutoCardWidth { get; set; }

#Property Value

Type Default Description
Boolean false

true, to change card width in the printed/exported document to fit the page; otherwise, false.

#Remarks

To use this property, specify the number of card columns in the printed/exported document by the CardView.PrintMaximumCardColumns property.

If you use a custom print template, the GridControl ignores this property.

Refer to the Print Data topic for more information on how to customize the printed document.

See Also