Hi,
I use your controls for WinForms and recently I'm starting to explore the WPF.
I'm very new to WPF.
What I'm trying to do:
I try to let the user input a time (9:30, 12:15...). Windows is lacking a lot of controls I was used to (eg DateTimePicker) in WinForms but luckely I can rely on Infragistic for those. Using the DateTimeEditor you can only pick a date and I want only picking a Time. So with two numeric up and down I thought I could solve the problem.. But Microsoft didn't supply a NumericUpAndDown neither (kind of wondering what they are thinking at Microsoft..The lack of controls is very frustrating, we have to rely on 3rd party controls like yours, using WPF is like eating at a very fancy restaurant but you don't get a plate and a fork is also missing, if you wanted a plate and a fork you should have brought your own, they only give knifes and glasses at the restaurant :) )
Now, I use the NumericEditor but I still have 2 questions:
1. how can I set the maximum? (23 for hours, 59 for minutes)
2. how can I set the format? (hours and minutes aren't decimals or doubles and will never be, I hope :) i need Integers)
You may not want to use a xamNumericEditor but use a xamDateTimeEditor or xamMaskedEditor. You can specify a mask that has time sections (e.g. hh:mm:ss). There is a page in the help which covers all the possible mask characters.
Hello,
You can use the ValueConstraint property of the XamNumericEditor to set (Max|Min)Exclusive (Max|Min)Inclusive values. Regarding the data type, you have a ValueType property which you can set to integer. You can also use masks for this.
xmlns:sys="clr-namespace:System;assembly=mscorlib"
...
ValidateAsType={x:Type sys:Int32}
Let me know if you have any more questions on this.