Silverlight 4 Default Button Service

Posted by Mark Cooper on Stack Overflow See other posts from Stack Overflow or by Mark Cooper
Published on 2010-04-21T14:37:00Z Indexed on 2010/04/29 5:17 UTC
Read the original article Hit count: 1200

For a few months I have been successfully using David Justices Default Button example in my SL 3 app. This approach is based on an attached property.

After upgrading to SL4, the approach no longer works, and I get a XAML exception: "Unknown parser error: Scanner 2148474880"

Has anyone succesfully used this (or any other) default button attached behaviours in SL4?

Is there any other way to achieve default button behaviour in SL4 with the new classes that are available?

Thanks, Mark

© Stack Overflow or respective owner

Related posts about silverlight-4.0

Related posts about attachedproperties