Skip to main content
A newer version of this page is available. .

ProgressBarMarqueeStyleSettings Class

Defines the appearance and behavior of the marquee (indeterminate) progress bar.

Namespace: DevExpress.Xpf.Editors

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public class ProgressBarMarqueeStyleSettings :
    BaseProgressBarStyleSettings

Remarks

A ProgressBarMarqueeStyleSettings object defines the Marquee progress bar operation mode.

animMarqueeProgressBar

The following code sample demonstrates how to switch the progress bar operation mode to Marquee.

<dxe:ProgressBarEdit>
    <dxe:ProgressBarEdit.StyleSettings>
        <dxe:ProgressBarMarqueeStyleSettings AccelerateRatio="3"/>
    </dxe:ProgressBarEdit.StyleSettings>
</dxe:ProgressBarEdit>

Tip

For the complete list of the ProgressBarEdit control operation modes, see ProgressBarEdit operation modes.

Example

This example shows how to create ProgressBarEdit and MarqueeProgressBarEdit controls.

View Example

<Window x:Class="DXSample_ProgressBar.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525" xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <dxe:ProgressBarEdit Name="progressBarEdit1"
                             HorizontalAlignment="Center" VerticalAlignment="Center"
                             Width="300" Height="30"
                             Minimum="0" Maximum="100" Value="75" ContentDisplayMode="Value" Foreground="#FFFCF5F5" DisplayFormatString="{}{0}%">
        </dxe:ProgressBarEdit>
        <dxe:ProgressBarEdit Name="marqueeProgressBarEdit1" Grid.Row="1"
                             HorizontalAlignment="Center" VerticalAlignment="Center"
                             Width="300" Height="30">
            <dxe:ProgressBarEdit.StyleSettings>
                <dxe:ProgressBarMarqueeStyleSettings/>
            </dxe:ProgressBarEdit.StyleSettings>
        </dxe:ProgressBarEdit>
    </Grid>
</Window>
See Also