System.Windows.Forms.ProgressBar Members

The members of System.Windows.Forms.ProgressBar are listed below.

See Also: Inherited members from System.Windows.Forms.Control

Public Constructors

Initializes a new instance of the System.Windows.Forms.ProgressBar class.

Public Properties

override
AllowDropbool.

Overrides Control.AllowDrop.

BackColorSystem.Drawing.Color. Documentation for this section has not yet been entered.
override
BackgroundImageSystem.Drawing.Image.

Gets or sets the background image for the System.Windows.Forms.ProgressBar control.

override
BackgroundImageLayoutImageLayout.

Gets or sets the layout of the background image of the progress bar.

CausesValidationbool.

Gets or sets a value indicating whether the control, when it receives focus, causes validation to be performed on any controls that require validation.

override
FontSystem.Drawing.Font.

Gets or sets the font of text in the System.Windows.Forms.ProgressBar.

ForeColorSystem.Drawing.Color. Documentation for this section has not yet been entered.
ImeModeImeMode.

Gets or sets the input method editor (IME) for the System.Windows.Forms.ProgressBar

MarqueeAnimationSpeedint.

Gets or sets the time period, in milliseconds, that it takes the progress block to scroll across the progress bar.

Maximumint.

Gets or sets the maximum value of the range of the control.

Minimumint.

Gets or sets the minimum value of the range of the control.

PaddingPadding.

Gets or sets the space between the edges of a System.Windows.Forms.ProgressBar control and its contents.

RightToLeftRightToLeft. Documentation for this section has not yet been entered.
RightToLeftLayoutbool.

Gets or sets a value indicating whether the System.Windows.Forms.ProgressBar and any text it contains is displayed from right to left.

Stepint.

Gets or sets the amount by which a call to the ProgressBar.PerformStep method increases the current position of the progress bar.

StyleProgressBarStyle.

Gets or sets the manner in which progress should be indicated on the progress bar.

TabStopbool.

Overrides Control.TabStop.

override
Textstring.

Overrides Control.Text.

Valueint.

Gets or sets the current position of the progress bar.

Protected Properties

[read-only]
override
CreateParamsCreateParams.

Overrides Control.CreateParams.

[read-only]
override
DefaultImeModeImeMode. Documentation for this section has not yet been entered.
[read-only]
override
DefaultSizeSystem.Drawing.Size.

Gets the default size of the control.

override
DoubleBufferedbool.

Gets or sets a value indicating whether the control should redraw its surface using a secondary buffer.

Public Methods

Increment(int)

Advances the current position of the progress bar by the specified amount.

PerformStep()

Advances the current position of the progress bar by the amount of the ProgressBar.Step property.

override
ResetForeColor()

Resets the Control.ForeColor to its default value.

override
ToString() : string

Returns a string that represents the System.Windows.Forms.ProgressBar control.

Protected Methods

override
CreateHandle()
Documentation for this section has not yet been entered.
override
OnBackColorChanged(EventArgs)

Raises the Control.BackColorChanged event.

override
OnForeColorChanged(EventArgs)

Raises the Control.ForeColorChanged event.

override
OnHandleCreated(EventArgs)

Overrides Control.OnHandleCreated(EventArgs)

override
OnHandleDestroyed(EventArgs)

Raises the Control.HandleDestroyed event.

OnRightToLeftLayoutChanged(EventArgs)

Raises the ProgressBar.RightToLeftLayout event.

Public Events

BackColorChangedDocumentation for this section has not yet been entered.
BackgroundImageChanged

Occurs when the value of the ProgressBar.BackgroundImage property changes.

BackgroundImageLayoutChanged

Occurs when the value of the ProgressBar.BackgroundImageLayout property changes.

CausesValidationChanged

Occurs when the value of the ProgressBar.CausesValidation property changes.

DoubleClick

Occurs when the user double-clicks the control.

Enter

Occurs when focus enters the System.Windows.Forms.ProgressBar control.

FontChanged

Occurs when the value of the ProgressBar.Font property changes.

ForeColorChangedDocumentation for this section has not yet been entered.
ImeModeChanged

Occurs when the value of the ProgressBar.ImeMode property changes.

KeyDown

Occurs when the user presses a key while the control has focus.

KeyPress

Occurs when the user presses a key while the control has focus.

KeyUp

Occurs when the user releases a key while the control has focus.

Leave

Occurs when focus leaves the System.Windows.Forms.ProgressBar control.

MouseDoubleClick

Occurs when the user double-clicks the control.

PaddingChanged

Occurs when the value of the ProgressBar.Padding property changes.

Paint

Occurs when the System.Windows.Forms.ProgressBar is drawn.

RightToLeftChangedDocumentation for this section has not yet been entered.
RightToLeftLayoutChanged

Occurs when the ProgressBar.RightToLeftLayout property changes.

TabStopChanged

Occurs when the ProgressBar.TabStop property changes.

TextChanged

Occurs when the ProgressBar.Text property changes.