使多行文本框容纳更多文本(C#、w​​inform) [英] Make multiline textbox hold more text (C#, winform)

查看:36
本文介绍了使多行文本框容纳更多文本(C#、w​​inform)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了一个小问题,我正在尝试过滤一个从另一个程序复制并粘贴到我的程序中的相当大的列表.问题是,文本太多,只有一部分被粘贴到文本框中.整个列表<256kb.

I ran into a little problem, i am trying to filter a rather large list which i copied from another program and pasted into mine. Problem is, theres so much text that only some of it is being pasted into the textbox. The whole list is <256kb.

如何提高输入和输出文本框的限制以容纳所有文本?使用 C# 和 winform

How do i raise the limit of my in and out textbox to hold ALL of the text? using C# and winform

推荐答案

您可以设置 MaxLength 文本框的属性为 0 以覆盖默认的 32767 字符限制:

You can set the MaxLength property of your text boxes to 0 to override the default 32767 character limit:

yourTextBox.MaxLength = 0;

这篇关于使多行文本框容纳更多文本(C#、w​​inform)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆