将文本框属性设置为多行

发布于 2024-10-04 00:02:08 字数 206 浏览 0 评论 0原文

我正在用表达式混合练习一些问题。 我的问题是文本框属性。我希望它将字符串显示为多行文本, 但它水平向右移动,我应该将光标放在字符串上,然后向右移动 带文字。这很烦人。 有什么建议吗?

这是它的图片:

alt text

我提前致以最诚挚的问候和感谢。

I am exercising some problems in Expresion blend.
My problem is with textbox property.I want it to show strings as multiline text,
but it goes horizontally right and I should put cursor on string and go to right along
with text.This is very annoying.
Any suggestions?

Here a picture of it:

alt text

My best regards and thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

于我来说 2024-10-11 00:02:08

看来您需要使用 TextWrapping 属性:

<TextBox TextWrapping="Wrap" />

It looks like you need to use the TextWrapping property:

<TextBox TextWrapping="Wrap" />
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文