How to make 2 inline elements with 0 margin?
I have FlowDocument
<FlowDocument>
<Paragr开发者_StackOverflow社区aph>
<Run Text="foo" />
<Run Text="bar" />
</Paragraph>
</FlowDocument>
How to make 'foo' and 'bar' appear with no space in between?
Try this:
<FlowDocument>
<Paragraph>
<Run Text="foo" /><Run Text="bar" />
</Paragraph>
</FlowDocument>
I've noticed that if you keep the Run elements on the same line it prints it without the space.
精彩评论