Do you set the ScrollBars property if the TextBox is Multiline?

Last updated by Igor Goldobin about 2 months ago.See history

If a TextBox has Multiline set to true, then the ScrollBars property should be set to "Both" or at least "Vertical".

Figure: Bad example - Multiline TextBox without "Vertical" scroll bar.

Figure: Good example - Multiline TextBox with "Vertical" scroll bar

Figure: Good example - Set the ScrollBars property to "Vertical" if the TextBox is Multiline

We have a program called SSW Code Auditor to check for this rule.

We open source. Powered by GitHub