TaskDialogProgressBar.Value Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the current position of the progress bar.
public:
property int Value { int get(); void set(int value); };
public int Value { get; set; }
member this.Value : int with get, set
Public Property Value As Integer
Property Value
The position within the range of the progress bar. The default is 0
.
Exceptions
The value is less than 0 or greater than UInt16.MaxValue.
The property is set on a progress bar instance that is currently bound to a task dialog, but it's not visible as its initial State property value was None. - or - The property is set on a progress bar instance that is currently bound to a task dialog, but the dialog has just started navigating to a different page.
Remarks
This value is only used if the progress bar is not a marquee progress bar (as defined by the State property).
This property can be set while the dialog is shown.