Browse Source

Demonstrate bug in ProgressBar.

pull/63/head
Steven Kirk 11 years ago
parent
commit
237076d637
  1. 6
      TestApplication/Program.cs

6
TestApplication/Program.cs

@ -433,7 +433,7 @@ namespace TestApplication
{ {
Minimum = 100, Minimum = 100,
Maximum = 400, Maximum = 400,
Value = 400, Value = 100,
Orientation = Orientation.Horizontal, Orientation = Orientation.Horizontal,
}), }),
new ScrollViewer new ScrollViewer
@ -450,7 +450,9 @@ namespace TestApplication
}, },
new ProgressBar new ProgressBar
{ {
Value = 50 [!ProgressBar.MinimumProperty] = size[!ScrollBar.MinimumProperty],
[!ProgressBar.MaximumProperty] = size[!ScrollBar.MaximumProperty],
[!ProgressBar.ValueProperty] = size[!ScrollBar.ValueProperty],
} }
} }
}, },

Loading…
Cancel
Save