Data Binding in Silverlight and XamlParseException

code, silverlight — Szili @ 2:16 pm

Playing with data binding I had the System.Windows.Markup.XamlParseException whenever I ran my app.

It turns out the problem was putting a binding statement into a <Run … /> element.
Silverlight supports data binding only on FrameworkElements and the Run class contrary to the Textblock is not a descendant.

0 Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.
(c) 2010 Szili | powered by WordPress with Barecity