Vcl.Grids.TCustomDrawGrid.Selection

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Selection: TGridRect read GetSelection write SetSelection;

C++

__property Selection;

Properties

Type Visibility Source Unit Parent
property public
Vcl.Grids.pas
Vcl.Grids.hpp
Vcl.Grids TCustomDrawGrid

Description

Indicates the boundaries of the current selection.

Vcl.Grids.TCustomDrawGrid.Selection inherits from Vcl.Grids.TCustomGrid.Selection. All content below this line refers to Vcl.Grids.TCustomGrid.Selection.

Indicates the boundaries of the current selection.

Set Selection to select a range of cells in the grid. Selection can either represent the first column, first row, last column and last row in the grid, or the row and column coordinates of the upper left and bottom right cells in the selected region.

Selection can only indicate more than one cell when Options includes goRangeSelect.

See Also

Code Examples