Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
50
2 Errors in the XamWebNumericEditor
posted

Number 1: The "ValueType" property is missing. In the Samples Browser you can see this property, but now I can't find this property in the control.

Number 2: The "Mask" property works not correct. When you set "{double:6.2}" you'll have 8 digits before the comma and 2 after it, but when you set "{double:2.0}" all works correct.

With kind regards.

Parents
  • 760
    Verified Answer
    posted

    Hello,

    The "ValueType" property is not missing it is still there. It just has an additional attribute - "[EditorBrowsable(EditorBrowsableState.Never)]"
    The last version of Blend has a bug. The internal converter in Blend doesn't work correctly with the type - "Type". In the property browser you can see the type of such property, for example: "System.Int16". But the converter expects another syntax: "System:16". As you can see, such strange behavior of Blend could mislead our customers so we decided this property to not be visible in Blend's property browser until Microsoft fix their bug. However, this attribute hides this property from the C# intellisense in VisualStudio. The property is still visible in the Xaml intellisense. The proerty could be used from Xaml and C# without any problems.

    About your second point, yes you are right, the number of digits is not correct. I suppose your Regional Settings are: "German (Austria)".
    This issue exists only when the Regional Settings are: "German (Austria)".   We'll fix this in the next service release.

    Thank you for your contribution.

    Regards,
     Doychin Dochev

Reply Children
No Data