Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

GradientMode Property, ProgressBarPartClass Class

Defines the progressbar's gradient fill.

Class: ProgressBarPartClass
Namespace: Softelvdm.Controls
Assembly: Softelvdm.SftTreeNET

Syntax

public LinearGradientMode GradientMode { get; set; }
Public Property GradientMode As LinearGradientMode

Value

The gradient fill mode.

The default value is LinearGradientMode.Vertical.

Comments

Defines the progressbar's gradient fill.

If the progressbar's appearance (Appearance property) uses Window themes, this property is ignored.

If the ProgressBarPartClass.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 ProgressBarPartClass.ProgressColor and ProgressBarPartClass.ProgressColorEnd.

See Also ProgressBarPartClass Class | Classes | SftTree/NET 2.0