Vcl.Grids.TCustomGrid.VirtualView

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

VirtualView: Boolean;

C++

bool VirtualView;

Properties

Type Visibility Source Unit Parent
field protected
Vcl.Grids.pas
Vcl.Grids.hpp
Vcl.Grids TCustomGrid

Description

Controls the use of maximum screen clipping optimizations when the grid window changes size.

VirtualView controls the use of maximum screen clipping optimizations when the grid window changes size. The default value of the VirtualView field is False, which means only the area exposed by the size change will be redrawn, for less flicker. If VirtualView is True, the entire data area of the grid is redrawn when the size changes. This is required when the data displayed in the grid is not bound to the number of rows or columns in the grid, such as the DBGrid (a few grid rows displaying a view onto a million row table).

VirtualView is used internally by the grid controls. Applications should not depend on the value of VirtualView.

See Also