A newer version of this page is available. Switch to the current version.

Selection Rectangle

The selection rectangle allows end-users to select a range of rows, cells or cards by dragging the mouse pointer over the items.

Marquee Selection

To enable this feature, set the DataViewBase.ShowSelectionRectangle property to true, the DataViewBase.NavigationStyle property to either GridViewNavigationStyle.Cell or GridViewNavigationStyle.Row, and the DataControlBase.SelectionMode property to either MultiSelectMode.Row or MultiSelectMode.Cell.

To modify the appearance of the selection rectangle, use the DataViewBase.SelectionRectangleStyle property.