Quantcast
Channel: Caliburn.Micro: Xaml Made Easy
Viewing all articles
Browse latest Browse all 1760

Created Issue: The short syntax for attaching an action doesn't work in Windows Phone 8 [277]

$
0
0
I'm setting up a Windows Phone 8 project and I've noticed that I can't use the short syntax to attach an action to a control, like for example:

<Button cal:Message.Attach="[EventName Click] = [Action ShowNameAction]" Content="Click" />

The cal namespace is defined like this:

xmlns:cal="http://www.caliburnproject.org"

When I launch the application, I get a XamlParseException complaining that no Attach property has been found for Message.

If I use the long syntax, instead, everything is working fine.

Viewing all articles
Browse latest Browse all 1760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>