Back to Devexpress

DataViewBase.PrintSelectedRowsOnly Property

wpf-devexpress-dot-xpf-dot-grid-dot-dataviewbase-0b15ceea.md

latest2.4 KB
Original Source

DataViewBase.PrintSelectedRowsOnly Property

Gets or sets whether to print/export only the selected rows. This is a dependency property.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.Core.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public bool PrintSelectedRowsOnly { get; set; }
vb
Public Property PrintSelectedRowsOnly As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true, to print/export only the selected rows; otherwise, false.

|

Remarks

To print selected rows, enable multiple row, card, or node selection:

  1. Check that the DataViewBase.NavigationStyle property is set to Cell or Row.
  2. Set the DataControlBase.SelectionMode property to MultiSelectMode.Row or MultiSelectMode.MultipleRow.

Note

If the GanttView.PrintSelectedRowsOnly property is set to true , the GanttControl prints connectors for the selected tasks only.

Refer to the following topics for more information on how to print data:

See Also

Row Selection

SelectedItems

DataViewBase Class

DataViewBase Members

DevExpress.Xpf.Grid Namespace