Christian Russo Christian Russo - 3 months ago 48
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!


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?