Click or drag to resize

TaskDialogProgressBarStyle Property

Gets or sets the type of progress bar displayed on the dialog.

Namespace:  Ookii.Dialogs
Assembly:  Ookii.Dialogs (in Ookii.Dialogs.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public ProgressBarStyle ProgressBarStyle { get; set; }

Property Value

Type: ProgressBarStyle
A ProgressBarStyle that indicates the type of progress bar shown on the task dialog.
Remarks

If this property is set to MarqueeProgressBar, the marquee will scroll as long as the dialog is visible.

If this property is set to ProgressBar, the value of the ProgressBarValue property must be updated to advance the progress bar. This can be done e.g. by an asynchronous operation or from the Timer event.

Note Note
Updating the value of the progress bar using the ProgressBarValue while the dialog is visible property may only be done from the thread on which the task dialog was created.
See Also