开发者

WPF MVVM formatted Text Binding

开发者 https://www.devze.com 2023-01-22 22:39 出处:网络
I\'m Using MVVM in WPF (.Net 3.5) and I need a control that supports formatted开发者_运维百科 text, bold & italics, and I can bind to easily.

I'm Using MVVM in WPF (.Net 3.5) and I need a control that supports formatted开发者_运维百科 text, bold & italics, and I can bind to easily. When I say easily I mean something like Text ="{Binding FormattedText}" and that's it. RichTextBox blows for binding.


You have to use HtmlToXamlConverter as in here HTML Textblock and here Rich textblock


You can use A Bindable WPF RichTextBox

0

精彩评论

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