Vcl.Grids.TCustomGrid.DrawingStyle
Delphi
property DrawingStyle: TGridDrawingStyle read FDrawingStyle write SetDrawingStyle default gdsThemed;
C++
__property TGridDrawingStyle DrawingStyle = {read=FDrawingStyle, write=SetDrawingStyle, default=1};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | protected | Vcl.Grids.pas Vcl.Grids.hpp |
Vcl.Grids | TCustomGrid |
Description
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
.