b2科目四模拟试题多少题驾考考爆了怎么补救
b2科目四模拟试题多少题 驾考考爆了怎么补救

wpf richtextbox_wpf 多行文本框_c#return

电脑杂谈  发布时间:2017-01-15 17:14:04  来源:网络整理

wpf 多行文本框_c#return_wpf richtextbox

wpf richtextboxwpf richtextbox

Thank you for sharing, Gregor.

I have a question about SetRTF() method, I understand your intention is to set the content of the rich text editor, but why you have to do it through

MemoryStream
, you write the string to
MemoryStream

and then load it from there into the editor.

I open the solution and run it with Visual Studio 2015, I get exceptions here no matter what the parameter rtf is, you try to catch the exception thrown by range.load(), but the program still crushes.

Thanks.

First of all... Very nice Editor

I'm also making an RTF Editor and I have used your approach, but...

If you start the application and the first thing you do is change the font, the newly selected font is reverted as soon as you start to type! Do you have any clues why that is and even better how to fix it?

Without any modification, I found that only the Mainwindow under the Visual Studio 2012 would open and not even Window1, let alone RTFEditor or any access to the user-controlling RTFBox.

Is there a way to open the RTFEditor or to access the RTFBox class under the namespace of RTFEditor?

The class RTFBox seems to be completely isolated from any of the two windows: MainWindow and Window1.

I hope someone in the community would like to spend a little time to answer me the question.

Thanks in advance.

wtkh

I've finally found out why the WPF RichTextEditor with Toolbar does not work. "WPF RichTextEditor with Toolbar" was written in an older version of Visual Studio, many of its older arrangements/assets were obsolete. The topic of "Visual Studio 2012 Compatibility" for Visual Studio 2012 -> (v=vs.110).aspx clearly explain that "Some solutions, projects, files, and other assets that you created in Visual Studio 2010 Service Pack 1 (SP1) will run without modification in Visual Studio 2012, but others have to be upgraded. This document describes how various kinds of assets behave in these two versions of Visual Studio."


本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/jisuanjixue/article-26502-1.html

相关阅读
    发表评论  请自觉遵守互联网相关的政策法规,严禁发布、暴力、反动的言论

    热点图片
    拼命载入中...