Total .NET Analyzer Rule Documentation  

ControlRightToLeft Rule

Review controls with the RightToLeft property set to 'Yes' or 'Inherit'.

Remarks

A control's RightToLeft property determines whether or not the control supports locales using right-to-left fonts.

If the property is set to 'Yes', it will have the following effects on controls:
- Controls that include text are displayed from right to left.
- Vertical scroll bars display on the left side of scrollable controls, and horizontal scrollbars are right-aligned.
- Check box and Radio button labels display on the opposite side of the control.
- Text displayed in title bars, menus, list boxes, combo boxes, etc. is right-aligned.

If the property is set to 'Inherit', the setting is inherited from the parent control.

For applications that do not support right-to-left fonts, this property should be set to 'No'.

Resolution

Review controls with the RightToLeft property set to 'Yes' or 'Inherit' to determine whether they need to support right-to-left fonts. If they do not, change the RightToLeft property to 'No' through the Windows Form Designer Properties window.

See Also

Control.RightToLeft Property