[]
        
(Showing Draft Content)

C1.Framework.ProgressBarElement

ProgressBarElement Class

Element equivalent to a WinForms ProgressBar control.

Inheritance
ProgressBarElement
Implements
Namespace: C1.Framework
Assembly: C1.Win.4.8.dll
Syntax
public class ProgressBarElement : Element, ISupportUia
Remarks

This element has two styles: the regular (Style) is used to paint the element background; the ProgressStyle is used to paint the progress indicator.

If either style is set to null (the default value), then the background and/or progress indicators are rendered using system's current visual theme.

Constructors

Name Description
ProgressBarElement()

Initializes a new instance of a ProgressBarElement.

ProgressBarElement(Style)

Initializes a new instance of a ProgressBarElement with a given Style.

Properties

Name Description
Maximum

Gets or sets the maximum value of the progress bar range.

Minimum

Gets or sets the minimum value of the progress bar range.

ProgressStyle

Gets or sets the Style used to paint the progress bar.

Value

Gets or sets the current value of the progress bar range.

Methods

Name Description
GetPercentDone()
Render(Graphics, Rectangle)

Renders the element into a given rectangle.