Is there a way to serialize multiple XElements onto the same line?
问题 I'm dealing with the dreaded <Run/> in Silverlight 3 and having to programmatically create a <TextBlock> and its inlines: Why dreaded? Because it doesn't work, I guess, the way you'd expect. Exhibit A, below, should produce BARN (with fancy colors for each character), but instead it produces: B A R N EXHIBIT A <TextBlock FontFamily="Comic Sans MS" FontSize="88"> <Run Foreground="#A200FF">B</Run> <Run Foreground="#FF0000">A</Run> <Run Foreground="#FFC000">R</Run> <Run Foreground="#FFFF00">N<