Skip to main content

ProgressBarEditSettings.IsPercent Property

Gets or sets whether the value is displayed as a percentage. This is a dependency property.

Namespace: DevExpress.Xpf.Editors.Settings

Assembly: DevExpress.Xpf.Core.v23.2.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public bool IsPercent { get; set; }

Property Value

Type Description
Boolean

true to display the value as a percentage; otherwise, false.

Remarks

If the IsPercent property is set to true, the progress bar’s value can be displayed as a percentage. Use the editor’s BaseEditSettings.DisplayFormat property to specify the format pattern.

progressBar_IsPercent

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the IsPercent property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also