ProgressBarColorTheme Property

Gets or sets the color theme of ProgressBar control.

Definition

Namespace: BeeMobile.ProgressBar
Assembly: BeeMobile.ProgressBar.NET48 (in BeeMobile.ProgressBar.NET48.dll) Version: 4.8.1.0
C#
public ColorThemeEnum ColorTheme { get; set; }

Property Value

ColorThemeEnum
ColorThemeEnum value representing the chosen color theme. Default is Green.

Remarks

ProgressBar provides multiple color theme which the developer can use to customize its look.

The client area of ProgressBar consists of two rectangles. One that represents the empty control - the background of the ProgressBar and one that represents the bar itself. Both of these rectangles are vertically gradient-filled. Both gradient fills contain two color transitions. The first transition starts at the top of ProgressBar and ends in the middle. The second transition starts in the middle where the first ended and continues to the bottom of the control.

These colors together with BorderColor, when properly chosen, give ProgressBar an interesting and attractive look. ProgressBar contains built-in sets of these colors. These sets can be chosen by assigning a ColorThemeEnum value to this property. ColorThemeEnum is an enumeration of the following values:

Value Meaning
BlueBlue color theme.GreenGreen color theme.RedRed color theme.SystemSystem colors are chosen to paint ProgressBar. By choosing this theme you will make ProgressBar match the colors of the operating system.CustomThis theme is automatically chosen, if you assign your custom colors to GradientColor and GradientColorEmpty properties.

See Also