Skip to content

ProgressBarStyle Property

Description

Gets or sets the style of the progress bar. This is used to display the progress bar and specifies whether the progress bar should be displayed in marquee mode or not.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property ProgressBarStyle() As [TaskDialogProgressBarStyle](XtremeSuiteControls~Enumerations~TaskDialogProgressBarStyle_EN.md)

Remarks

To display a progress bar, you must set ProgressBarStyle to xtpTaskProgressBarMarquee or xtpTaskProgressBarNormal. Setting ProgressBarStyle to xtpTaskProgressBarNone will remove the progress bar.

If using the marquee style, ProgressBarStyle must first be set to xtpTaskProgressBarMarquee and StartProgressBarMarquee must be called in the Constructed event before it can be turned on or off. After StartProgressBarMarquee is called in the Constructed event, you can freely use StartProgressBarMarquee anytime to start and stop the marquee.

The illustrations below show a progress bar that is in the process of scrolling using both the marquee and standard styles:

Marquee Progress Bar

Standard Progress Bar

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.