Vcl.Grids.TCustomDrawGrid.GridWidth

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property GridWidth: Integer read GetGridWidth;

C++

__property GridWidth;

Properties

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

Description

Specifies the width of the grid in pixels.

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

Specifies the width of the grid in pixels.

Read GridWidth to determine the size of the grid. If GridWidth is less than the value of ClientWidth, all of the columns of the grid appear in the control with an empty region to the right of the grid. If the underlying grid is too wide to appear in the control, GridWidth is the same as ClientWidth, and the user must scroll to see the entire contents of the grid.

See Also