想要去掉基础设施文本框的边框

发布于 2024-12-27 17:38:31 字数 206 浏览 4 评论 0原文

我有一个基础设施文本框。我想删除它的边框。我不知道该怎么做?

this._myTextTextBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.None;

我认为这对我来说应该很好,但它没有带来任何丰硕的结果。

谢谢。

I have a infragistics textbox. I want to remove its border. and I am not sure how to do it?

this._myTextTextBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.None;

This is what i thought should work fine for me, but its not giving any fruitful result.

Thanks.

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

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

发布评论

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

评论(2

七色彩虹 2025-01-03 17:38:31
_myTextTextBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.None; 

指定边框样式后,您需要执行此操作。

_myTextTextBox.UseOsThemes = DefaultableBoolean.False; 

我觉得这个解决方案更通用,而不是特定于基础设施。感谢 Infragistics Inc. 的 Boris 指导我做到这一点。

希望它有帮助。

_myTextTextBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.None; 

After assigning border style, you need to do this.

_myTextTextBox.UseOsThemes = DefaultableBoolean.False; 

I feel the solution is more generic and not specific to Infragistics. Thanks to Boris who guided me to this from Infragistics Inc.

Hope it helps.

ˇ宁静的妩媚 2025-01-03 17:38:31

你试过看MSDN吗?

TextBoxBase.BorderStyle属性

this._myTextTextBox.BorderStyle = BorderStyle.None;

Have you tried looking at the MSDN??

TextBoxBase.BorderStyle Property

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