Comments (7)
I am not aware of this. How is it being used and what is the exception. The test app has no exceptions
from callisto.
I came here per a suggestion from an MSFT forum moderator:
http://social.msdn.microsoft.com/Forums/en-US/42d79a9c-43e0-4251-ae21-d4f32688eb43/how-to-use-callisto-numericupdowndelay-or-numericupdowninterval?forum=winappswithcsharp
from callisto.
Are you setting properties correctly for minimum and maximum as well? Please provide the specific repro as the test app shows the values working fine.
from callisto.
Thank you for your prompt response. I have to confess that I may not be using it correctly. I posted here per the encouragement of the moderator. Anyway, here is how to reproduce it.
I started a brand new WS project as simple as possible. The following code ( I do not know what is the proper way to paste code here):
<Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
<Controls:NumericUpDown Maximum="255" HorizontalAlignment="Center" VerticalAlignment="Center" Value="255" />
</Grid>
The following code generates an exception. The only difference from the above code is Interval="200". Is this a misuse of this property?
<Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
<Controls:NumericUpDown Maximum="255" HorizontalAlignment="Center" VerticalAlignment="Center" Value="255" Interval="200" />
</Grid>
from callisto.
It seems that the editor automatically remove the page tag of the code in my previous post.
from callisto.
Ok, I understand the bug now. Let me explain. The Interval property is used for the delay for the plus/minus buttons when you hold them down. This is default set to 100 milliseconds which should be enough. The bug is that when setting the value the buttons aren't available yet. If you wanted to set this value, use a Loaded event handler on the control and set the value in the sender property which will be the control.
If what you really wanted was the Increment value, you can set that accordingly and the plus/minus will increment/decrement by that amount.
from callisto.
Good. At least my understanding of Interval based on guessing is correct. I assume this applies to property Delay too.
I am fine now. I originally wanted to speed it up.
I found another weir behavior. Please let me know if I should open another thread.
Let's use the code in my previous post as an example. Everything looks great until the number is deleted by the backspace key when the input box shrinks to little space. Afterwards, entering numbers will take effect, but the numbers cannot be seen because the input box seems to be able only to shrink, not grow.
from callisto.
Related Issues (20)
- CustomDialog and the virtual keyboard HOT 3
- Flyout Position moves to 'random' position when default location won't fit in screen.
- Controls no longer visible in Designer HOT 1
- [feature need]when will support C++/cx ? HOT 1
- CustomDialog with a textbox does not get focus when on a page with SearchBox control
- Rating control does not work if Value is set before ItemCount
- CustomDialog Styling HOT 4
- Closing a CustomDialog via the back button overrides the IsOpen binding HOT 2
- Tile Effect Breaks Button Commanding HOT 2
- Rating : Can I use other symbol instead of "Star" ? HOT 2
- NumericUpDown min and max bug
- Rating Control - Color for empty stars
- Rating Control Step
- Rating Control - Not visible at design time.
- Unable to install this extension. HOT 2
- Callisto cannot be upgraded in a project depending on .NET 4.5.2 HOT 1
- PCL version?
- Not working when we swipe.
- Change the gray color of Rating control in callisto Library for UWP version
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 callisto.