App throws exception if property value is mis-spelled
If I use the proper English spelling of "Grey", I receive a runtime exception that isn't very helpful.
eg.<CanvasBackground="Grey">
FatalExecutionEngineError was detected
Message: The runtime has encountered a fatal error. The address of the error was at 0x7f570c2b, on thread 0xb8c. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack.
Granted the Xaml view does underline the word and provide a tooltip, if I hover over it, telling me its invalid. If I miss this though, I can still compile and crash without any idea of what caused it.
Also, bad capitalization results in the same Xaml view feedback, but does not result in an exception.
eg.Stroke="black"
User error obviously, but the sometimes you have to protect people like from their own stupidity
:)
NIK

