Table of Contents

Class DesignSelection

Namespace
ReportWright.Design
Assembly
ReportWright.Design.dll

What is selected on the surface. Immutable; the document replaces it.

public sealed class DesignSelection
Inheritance
DesignSelection
Inherited Members

Fields

None

The empty selection.

Properties

Column

Gets the selected cell's column, from 0, for Cell.

EndColumn

Gets the last column of a cell range (the anchor's column for a single cell).

EndRow

Gets the last row of a cell range (the anchor's row for a single cell).

FirstColumn

Gets the left column of the cell range.

FirstRow

Gets the top row of the cell range.

IsCellRange

Gets whether the cell selection covers more than one cell.

IsSingleItem

Gets whether exactly one item is selected (handles are shown only then, A.2.7).

Items

Gets the selected items, in selection order; empty unless Kind is Items.

Kind

Gets the kind.

LastColumn

Gets the right column of the cell range.

LastRow

Gets the bottom row of the cell range.

Region

Gets the data region holding the selected cell, for Cell.

Row

Gets the selected cell's row, from 0, for Cell.

SingleItem

Gets the single selected item, or null.

Methods

Add(IEnumerable<RdlElement>)

This selection with items added (a Shift rubber band, A.2.5).

Contains(RdlElement)

Gets whether an item is in the selection.

Of(RdlElement)

A selection of one item.

Of(IEnumerable<RdlElement>)

A selection of items.

OfCell(RdlElement, int, int)

A cell selection.

OfCellRange(RdlElement, int, int, int, int)

A range of cells from an anchor to another cell (Shift-click).

Toggle(RdlElement)

This selection with an item toggled in or out (Shift-click, A.2.4); a cell selection becomes an item selection.