I need to allow a user to enter a number where the first two digits are required but the number also has to be between 0 and 30. Can you combine something like ##.nn and {number: 0-30}?
That works beautifully! Thanks.
Hello,
You can try something like this:
<Style TargetType="{x:Type igEditors:XamNumericEditor}">
<Setter Property="ValueConstraint">
<Setter.Value>
<igEditors:ValueConstraint MaxInclusive="30" MinInclusive="0"/>
</Setter.Value>
</Setter>
</Style>
That seems to be the answer but I don't know how to set that property value in a style. Are there any examples?
You can use the ValueConstraint property of the value editor to set the min - max values and you can set the mask to specify where you should have a required and not required digit placeholder.