当前位置: 移动技术网 > IT编程>开发语言>.net > WPF使用FlowDocument实现图文混排

WPF使用FlowDocument实现图文混排

2019年08月15日  | 移动技术网IT编程  | 我要评论

geilivable,夏攀,衾何以堪番外

代码:

<richtextbox caretbrush="#fff" background="transparent" borderthickness="0">
    <flowdocument fontsize="16" foreground="#fff">
        <paragraph lineheight="22">
            <run text="{binding name}"></run>
            <image height="16" width="32" stretch="fill" source="/suncreate.vipf.client.resources;component/image/mainpage/重要.png" />
        </paragraph>
    </flowdocument>
</richtextbox>

效果图:

 

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网