Comments (9)
Testing XAML:
<controls:NumericUpDown x:Name="SliderValue" DecimalPlaces="0" Increment="1" Value="50" />
<ProgressBar Value="{Binding ElementName=SliderValue, Path=Value}" Height="20" Margin="0,5" Width="300"/>
from fayde.
This testing xaml is for NumericUpDown instead of ProgressBar.
from fayde.
- Looks like the DefaultStyle is not missing, but for some reason it doesn't show the initial value until the Value changes (using Metro Theme doesn't have this problem). Test with this XAML:
<ProgressBar Value="50" Height="20" />
from fayde.
- Setting Width on the ProgressBar makes the Progress to show as 100% regardless the current Value.
Testing XAML:
<ProgressBar Value="30" Height="20" Width="200" Margin="0,5" />
from fayde.
- Binding only works when set Mode=TwoWay on the ProgressBar, We should only need one way binding for ProgressBar as the control is a readonly control. In this testing I'm using ProgressValue NumericUpDown Control to enter the progress value. I also tested binding the ProgressBar.Value to a ViewModel's Progress property which gave me the same result:
Testing XAML:
<controls:NumericUpDown x:Name="ProgressValue" DecimalPlaces="0" Increment="1" Value="50" />
this XAML one doesn't work:
<ProgressBar Value="{Binding ElementName=ProgressValue, Path=Value}" Height="20" Margin="0,5" />
this XAML works:
<ProgressBar Value="{Binding ElementName=ProgressValue, Path=Value, Mode=TwoWay}" Height="20" Margin="0,5" />
from fayde.
- Using the same testing XAML in case 3. Make sure to use Metro Style. I don't get the error when using Default style.
from fayde.
Should be fixed. Please retry.
from fayde.
Number 3 is still not fixed, still need to set Binding mode = TwoWay. All others are working as expected.
from fayde.
Fixed binding. Coercing of Maximum and Value in RangeBase was clearing the binding expression. Pushed nuget package 0.9.8.8.
from fayde.
Related Issues (20)
- Margin around <canvas> tag in IE11
- Console error displayed in IE but not in Chrome HOT 2
- Subclass application HOT 3
- Button inside HyperlinkButton not working HOT 5
- scaling issues
- Change Line Color in Chart "Fayde.DataVis" HOT 6
- can't see content of 'core/arrange/ArrangeBinder.ts' in web-browser HOT 5
- OnTouchDown not called HOT 3
- Chart Refresh Problem HOT 1
- Two custom control styles throw error HOT 3
- Listbox Scrollbar issue HOT 4
- HyperlinkButton TargetName _Blank not working in IE11 HOT 2
- Error in Listbox.ts line 42
- Listbox items and scrollbar issue
- Implement implicit DataType DataTemplates. HOT 8
- Filefox screen selection issue HOT 1
- ComboBox non-responsive on mobile. HOT 1
- Slow responses on a mobile device.
- Mobile keyboard not popping up.
- Clearing Margin property results in error.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fayde.