Skip to main content

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.v24.1.Core.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public bool PrintSelectedRowsOnly { get; set; }

Property Value

Type Default Description
Boolean false

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