Vcl.Grids.TDrawGrid.DrawingStyle
Delphi
property DrawingStyle: TGridDrawingStyle read FDrawingStyle write SetDrawingStyle default 1;
C++
__property DrawingStyle = {default=1};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.Grids.pas Vcl.Grids.hpp |
Vcl.Grids | TDrawGrid |
Description
Determines the style used when drawing the grid.
Vcl.Grids.TDrawGrid.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
.