Dela via


ProgressBar.ShowPaused Property

Definition

Gets or sets a value that indicates whether the progress bar should use visual states that communicate a Paused state to the user.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.ProgressBar.ShowPaused (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public:
 property bool ShowPaused { bool get(); void set(bool value); };
bool ShowPaused();

void ShowPaused(bool value);
public bool ShowPaused { get; set; }
var boolean = progressBar.showPaused;
progressBar.showPaused = boolean;
Public Property ShowPaused As Boolean
<ProgressBar ShowPaused="bool"/>

Property Value

Boolean

bool

True if the progress bar should use visual states that communicate a Paused state to the user; otherwise, false. The default is false.

Applies to