[Overview][Types][Classes][Procedures and functions][Index] | Reference for unit 'ExtCtrls' (#lcl)

# TCustomControlBar.DrawingStyle

Fill style used for bands on the control bar.

## Declaration

Source position: extctrls.pp line 1667

`public property TCustomControlBar.DrawingStyle : TBandDrawingStyle read FDrawingStyle write SetDrawingStyle default dsNormal;`

## Description

DrawingStyle is a TBandDrawingStyle property which indicates the fill style applied to the control bar. The default value for the property is dsNormal and causes the default background color for the control bar to be used.

Set DrawingStyle to dsGradient to draw the control bar using a gradient fill defined by the values in GradientDirection, GradientStartColor, and GradientEndColor. When clDefault is used in GradientStartColor, it is converted to clForm when the Paint method is called to draw the control. When clDefault is used in GradientEndColor, it is converted to cl3DHighlight in the Paint method.

## See also

TCustomControlBar.GradientDirection |  | Controls the direction for a gradient drawn on the control bar.
TCustomControlBar.GradientStartColor |  | Specifies the initial color used in a gradient drawn on the control bar.
TCustomControlBar.GradientEndColor |  | Specifies the ending color used in a gradient drawn on the control bar.
TCustomControlBar.Paint |  | Draws the control with its image, decorations, and visible bands.
TCustomControlBar.OnBandPaint |  | Event handler signalled to render a visible band on the specified control with the specified paint options.
TBandDrawingStyle |  | Represents the drawing styles available for tool bar bands.
TBandPaintOptions |  | Set type used to store values from the TBandPaintOption enumeration.