|
|
|
GradientMode Property, ProgressBarPartClass Class |
Defines the progressbar's gradient fill.
Syntax ProgressBarPartClass Class (Softelvdm.Controls)
VB |
Public Property GradientMode As LinearGradientMode |
C# |
public LinearGradientMode GradientMode { get; set; } |
C++ |
public: property LinearGradientMode GradientMode { |
Property Value
The gradient fill mode.
LinearGradientMode |
Value |
Description |
Horizontal | 0 | Specifies a gradient from left to right. |
Vertical | 1 | Specifies a gradient from top to bottom. |
ForwardDiagonal | 2 | Specifies a gradient from upper left to lower right. |
BackwardDiagonal | 3 | Specifies a gradient from upper right to lower left. |
The default value is LinearGradientMode.Vertical.
Comments
The GradientMode property defines the progressbar's gradient fill.
If the progressbar's appearance (Appearance property) uses Window themes, this property is ignored.
If the ProgressColorEnd property is set to a color value (other than Color.Empty), the progress bar is rendered using a gradient fill defined by the GradientMode property and the colors ProgressColor and ProgressColorEnd.
Version Information
Supported in version 1.0.
Products Table