Vcl.DBGrids.TDBGrid.DrawingStyle

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DrawingStyle: TGridDrawingStyle read FDrawingStyle write SetDrawingStyle default 1;

C++

__property DrawingStyle = {default=1};

Properties

Type Visibility Source Unit Parent
property published
Vcl.DbGrids.pas
Vcl.DBGrids.hpp
Vcl.DBGrids TDBGrid

Description

Determines the style used when drawing the grid.

Vcl.DBGrids.TDBGrid.DrawingStyle inherits from Vcl.Grids.TCustomGrid.DrawingStyle. All content below this line refers to Vcl.Grids.TCustomGrid.DrawingStyle.

Determines the style used when drawing the grid.

DrawingStyle determines the style used to draw the grid. The following table lists the possible values of DrawingStyle.


Value Meaning

gdsClassic

The grid control uses the standard, unthemed style.

gdsThemed

The grid control uses the current operating system theme.

gdsGradient

The grid control uses gradients for styling.


Notes about DrawingStyle for Vcl.Grids.TStringGrid:

  • Setting FixedColor has no effect unless you also set DrawingStyle to gdsClassic.
  • Setting GradientStartColor and GradientEndColor has no effect unless you set the value of DrawingStyle to gdsGradient.


See Also