The current scrollbar settings for a multi-line rich edit control. Possible return values are given by the RichTextBoxScrollBars enumeration.
[Visual Basic] Public Property ScrollBars As RichTextBoxScrollBars [C#] public RichTextBoxScrollBars ScrollBars {get; set;} [C++] public: __property RichTextBoxScrollBars get_ScrollBars(); public: __property void set_ScrollBars(RichTextBoxScrollBars); [JScript] public function get ScrollBars() : RichTextBoxScrollBars; public function set ScrollBars(RichTextBoxScrollBars);
Horizontal scroll bars will not be shown if the WordWrap is true, regardless of the value of the ScrollBars property.
RichTextBox Class | RichTextBox Members | System.WinForms Namespace | RichTextBoxScrollBars