Welcome to the WPF feedback portal. We’re happy you’re here! If you have feedback on how to improve the WPF, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

3
Votes

Range Colors not applied properly in SfProgressBar WPF platform.

Replication procedure:

  1. Create a WPF sample with SfLinearProgressBar.
  2. Add the below mentioned code snippets.
  3. Range color should apply based on the progress value, but it is applied evenly for the progress value.
Code snippet:

<Grid>


        <Syncfusion:SfLinearProgressBar x:Name="pbr" Progress="50" VerticalAlignment="Center" Height="30">

            <Syncfusion:SfLinearProgressBar.RangeColors>

                <Syncfusion:RangeColorCollection>

                    <Syncfusion:RangeColor Color="BlanchedAlmond" Start="0" End="50"/>

                    <Syncfusion:RangeColor Color="Coral" Start="50"  End="70"/>

                    <Syncfusion:RangeColor Color="Crimson" Start="70" End="100"/>

                </Syncfusion:RangeColorCollection>

            </Syncfusion:SfLinearProgressBar.RangeColors>

        </Syncfusion:SfLinearProgressBar>

    </Grid>


Sample screen shot:

Empty



Expected behavior: 

The first color should apply upto progress value 50 as per the code snippet.