This project is read-only.
1
Vote

TextBlock Run bindings not resolved

description

Bindings for Run inside a TextBlock inside a ReportItem template are not resolved and are not printed. I noticed, however, that bindings on static resources do work.

comments

Psychlist1972 wrote Jan 6, 2012 at 4:31 PM

Thanks. I'm looking into this.

Psychlist1972 wrote Jan 7, 2012 at 12:39 AM

I spent sometime looking for a reasonable workaround to this, but for this next release, I'm going to have to defer it. As you may know, the Text property of the Silverlight Run class is not a dependency property like it is in WPF4. In addtion, the Silverlight Run class is sealed, so you can't implement a BindableRun like you could in WPF 3/3.5. There are some possibilities using attached properties, but so far they look too brittle for me to recommend. So, for now, no resolution of Run inlines in TextBlock elements in the report. Sorry.