Back to Devexpress

ProgressBarEditSettings.ContentDisplayMode Property

wpf-devexpress-dot-xpf-dot-editors-dot-settings-dot-progressbareditsettings.md

latest2.6 KB
Original Source

ProgressBarEditSettings.ContentDisplayMode Property

Gets or sets the content source. This is a dependency property.

Namespace : DevExpress.Xpf.Editors.Settings

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public ContentDisplayMode ContentDisplayMode { get; set; }
vb
Public Property ContentDisplayMode As ContentDisplayMode

Property Value

TypeDescription
ContentDisplayMode

A ContentDisplayMode enumeration value that specifies the editor’s content source.

|

Available values:

NameDescription
None

Displays only the progress bar.

| | Value |

Displays the value of the editor’s RangeBaseEdit.Value property.

| | Content |

Displays custom content.

|

Remarks

The in-place progress bar displays its value if the ContentDisplayMode property is set to ContentDisplayMode.Value.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ContentDisplayMode 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.

wpf-synchronous-theme-preload-with-splashscreen/CS/ThemePreloadwithSplashscreen/ComplexWindow.xaml#L238

xml
<dxe:ProgressBarEditSettings
    ContentDisplayMode="Value"
    DisplayFormat="p0"

See Also

ProgressBarEditSettings Class

ProgressBarEditSettings Members

DevExpress.Xpf.Editors.Settings Namespace