You are viewing help content for pre-release software. This document and the features it describes are subject to change. Switch to the current version.

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.v20.2.Core.dll

Declaration

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

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