the next hard to find error ...
I have a variable from type RoutedEventHandler, this works under c#:
Code: Select all
Delegate del = value as Delegate;
if (del != null) ...
under JavaScript I got a null !?
Workaround : I must call like :
Code: Select all
RoutedEventHandler del = value as RoutedEventHandler;
Best regards,
Uwe