日期:2014-05-18  浏览次数:21203 次

如何隐藏TextBox的边框
C#中写代码


------解决方案--------------------
this.textBox1.BorderStyle = BorderStyle.None;

试试
------解决方案--------------------
可以使用BorderThickness 和BorderBrush 属性修改TextBox 的边框。隐藏TextBox 周围的边框的最好方法是将TextBox 的BorderThickness 属性设置为0。