简体   繁体   中英

c# winforms how to disable the scrollbar of richtextbox

i have a customized scrollbar, however i have tried my best to make the original one from windows invisible by using the customized one covering on it, it can not be done.

any one have idea of how remove the original scrollbar ?

this.richTextBox1.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.None;

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM