开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜