Xiwen
Xiwen

Reputation: 263

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 ?

Upvotes: 1

Views: 3235

Answers (1)

Sadegh
Sadegh

Reputation: 4341

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

Upvotes: 6

Related Questions