限制Richtextbox wpf的内容大小? [英] Limiting the content size of Richtextbox wpf?
本文介绍了限制Richtextbox wpf的内容大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想限制用户在richtextbox中输入有限大小的内容。
因此它可能像页面一样工作。当内容到达页面末尾时,它不允许用户插入更多内容(包括图像或任何UIContent)。
I want to restrict user to enter a limited size of content in richtextbox.
So it may work like a page. When the content reaches the end of page it does not allow user to insert more content(including images or any UIContent).
推荐答案
如何设置WPF RichTextBox最大长度? [ ^ ]
希望它有所帮助!
How to set WPF RichTextBox Maximum Length?[^]
hope it helped!
这已在cp 在此检查 [ ^ ]
这篇关于限制Richtextbox wpf的内容大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文