Christian Russo Christian Russo - 1 year ago 181
C# Question

Styling Progress Bar in WPF with XAML

Hello I want to change Heigth of my progress bar but I can't, property "height" doesn't work.

I have this:

enter image description here

And I need like this:

enter image description here

My XAML code is:

<ProgressBar x:Name="pgsConnectionQuality" HorizontalAlignment="Center"
VerticalAlignment="Center" Height="100" Margin="276,0,198,0" Width="150"
Value="{Binding ConnectionQuality}"/>

How can I do? Thanks!

Answer Source

Height property works fine for me. Your first pic doesn't look like a standard progress bar. Are you sure you don't have a style setting it somewhere?

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download