Skip to content

Add Right-to-Left (RTL) Layout SupportΒ #21

@dparvin

Description

@dparvin

Add RTL (Right-to-Left) Layout Support

Description:
Ensure that all visual components in PropertyGridHelpers, including drop-down editors, modal editors, and rendered controls, correctly support right-to-left (RTL) languages such as Arabic, Hebrew, and Persian.

βœ… Goals

  • Detect and apply RightToLeft using CultureInfo.CurrentUICulture.TextInfo.IsRightToLeft
  • Apply RightToLeft in all IDropDownEditorControl implementations
  • Apply RightToLeft and RightToLeftLayout = true in all IModalEditorForm implementations
  • Adjust DrawItem or other owner-drawn rendering logic to honor RTL layout
  • Ensure image and text alignment behaves correctly when rendered RTL
  • Confirm PropertyGrid compatibility with RTL controls
  • Add unit tests or manual validation steps for RTL behavior

πŸ“ Notes

  • RTL should inherit naturally from parent controls when possible (avoid hardcoding).
  • Designer compatibility may vary β€” runtime layout is priority.
  • Consider a helper utility like RtlHelper.Apply(Control) to simplify logic reuse.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions