public static Rectangle RtlTransform(Control control, Rectangle rectangle) { if (control.RightToLeft != RightToLeft.Yes) return rectangle; else return new Rectangle(control.ClientRectangle.Right - rectangle.Right, rectangle.Y, rectangle.Width, rectangle.Height); }