UltraTextEditor
生活随笔
收集整理的這篇文章主要介紹了
UltraTextEditor
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
UltraTextEditor ????? 使用UltraTextEditor(或TextBox)文本框控件時,可能經常會按需要將它Enable或Disable/ReadOnly,默認情況下文字為黑色,Enable時底色為白色,Disable/ReadOnly時底色變為灰色。這樣顯得不是特別好看,尤其當一個WinForm上堆積了大量文本框的時候。如果能讓Disable/ReadOnly時的底色也是白色就能解決問題,WebForm可以靠CSS實現,WinForm怎么辦,難道要自己處理OnPaint?
????? 其實用UltraTextEditor的話異常簡單,只需分別設置其Appearance屬性組下的兩個屬性BackColorDisabled和ForeColorDisabled為Write和Black。也可用代碼設置:
????? UltraTextEditor1.Appearance.BackColorDisabled = Color.White;
??????UltraTextEditor1.Appearance.ForeColorDisabled = Color.Black;
????? 效果如下圖:
posted on 2007-09-21 15:35?heminzhou 閱讀(...) 評論(...) 編輯 收藏
????? 其實用UltraTextEditor的話異常簡單,只需分別設置其Appearance屬性組下的兩個屬性BackColorDisabled和ForeColorDisabled為Write和Black。也可用代碼設置:
????? UltraTextEditor1.Appearance.BackColorDisabled = Color.White;
??????UltraTextEditor1.Appearance.ForeColorDisabled = Color.Black;
????? 效果如下圖:
posted on 2007-09-21 15:35?heminzhou 閱讀(...) 評論(...) 編輯 收藏
轉載于:https://www.cnblogs.com/heminzhou/archive/2007/09/21/901418.html
總結
以上是生活随笔為你收集整理的UltraTextEditor的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 《播客》项目总结——web标准页面设计方
- 下一篇: DDBuildToolsRelease1