如何正确设计花式垂直ProgressBar?

Can*_*ith 7 wpf xaml styles progress-bar

我正在尝试制作一个时尚的进度条,但我的垂直版本有问题.一张图片胜过千言万语:

http://img402.imageshack.us/img402/2033/progressq.gif

到目前为止,我所尝试的一切都导致了错误.我如何实现正确的?我更喜欢只有XAML的解决方案,除非它很慢或者当进度条每秒更新很多次时会导致闪烁.

Avi*_* P. 5

这是另一种选择:

<Border BorderBrush="Black" BorderThickness="2" CornerRadius="3" Padding="3">
    <Grid Width="20" Height="100">
        <Grid Height="{Binding ProgressValue}" VerticalAlignment="Bottom">
            <Grid Height="100" VerticalAlignment="Bottom">
                <Grid.Background>
                    <LinearGradientBrush StartPoint="0,0" EndPoint="1,1">
                        <GradientStop Color="Yellow" Offset="0.0" />
                        <GradientStop Color="Red" Offset="0.25" />
                        <GradientStop Color="Blue" Offset="0.75" />
                        <GradientStop Color="LimeGreen" Offset="1.0" />
                    </LinearGradientBrush>
                </Grid.Background>
            </Grid>
        </Grid>
    </Grid>
</Border>
Run Code Online (Sandbox Code Playgroud)

请注意顶部的第三行,即绑定进度值的位置.