Click or drag to resize

ProgressDialogProgressBarStyle Property

Gets or sets a value that indicates whether a regular or marquee style progress bar should be used.

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

Property Value

Type: ProgressBarStyle
One of the values of ProgressBarStyle. The default value is ProgressBar.
Remarks
Note Note
Operating systems older than Windows Vista do not support marquee progress bars on the progress dialog. On those operating systems, the progress bar will be hidden completely if this property is MarqueeProgressBar.

When this property is set to ProgressBar, use the ReportProgress(Int32) method to set the value of the progress bar. When this property is set to MarqueeProgressBar you can still use the ReportProgress(Int32, String, String) method to update the text of the dialog, but the percentage will be ignored.

This property must be set before ShowDialog or Show is called. Changing property has no effect while the dialog is being displayed.

See Also