Olvasás angol nyelven Szerkesztés

Megosztás a következőn keresztül:


TaskDialogProgressBar.Value Property

Definition

Gets or sets the current position of the progress bar.

public int Value { get; set; }

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.

Applies to

Termék Verziók
Windows Desktop 5, 6, 7, 8, 9