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

Last updated by Igor Goldobin 12 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.


Adam Cogan
We open source.Loving SSW Rules? Star us on GitHub. Star
Stand by... we're migrating this site to TinaCMS