TcxCustomProgressBarProperties.BarStyle Property
In This Article
Specifies the progress bar’s paint style.
#Declaration
Delphi
property BarStyle: TcxProgressBarBarStyle read; write; default cxbsSolid;
#Property Value
Type | Default |
---|---|
Tcx |
cxbs |
#Remarks
The table below lists available BarStyle property values, and shows their effect for progress bars that don’t use marquee style.
Note that the overload bar and peak values cannot be displayed when the native paint style is applied via the progress bar’s Style.LookAndFeel.NativeStyle property.
Value | Description | Native Style Disabled | Native Style Enabled |
---|---|---|---|
cxbs |
A Windows® Vista-style progress bar. The bar’s base color is specified by the Begin |
![]() |
![]() |
cxbs |
A Windows® Vista-style progress bar, painted using a set of rectangles. The base color of rectangles is specified by the Begin |
![]() |
![]() |
cxbs |
The progress bar is represented by a solid rectangle. The bar’s color is set by the Begin |
![]() |
![]() |
cxbs |
The progress bar is a set of rectangles. The color of rectangles is set by the Begin |
![]() |
![]() |
cxbs |
The progress bar is represented by a rectangle with gradient filling. The starting and ending colors of the gradient are set using the Begin |
![]() |
![]() |
cxbs |
The progress bar is a set of rectangles filled using a gradient. The starting and ending colors of the gradient are set using the Begin |
![]() |
![]() |
cxbs |
The progress bar is filled with a custom bitmap. The bitmap is specified by the Foreground |
![]() |
![]() |
cxbs |
The progress bar is filled with a custom bitmap that is broken into a set of rectangles. The bitmap is specified by the Foreground |
![]() |
![]() |
Note
The cxbs
#Default Value
The BarStyle
property’s default value is pbbsSolid
.
See Also