Class RtlHelper
A helper class that provides the options for converting the actual rectangle to right to left mode rectangle.
Inheritance
System.Object
RtlHelper
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.WinForms.Core.Utils
Assembly: Syncfusion.Core.WinForms.dll
Syntax
public static class RtlHelper
Methods
GetRectangle(Rectangle, Size)
Gets an equivalent rectangle value for the right to left mode.
Declaration
public static Rectangle GetRectangle(Rectangle bounds, Size size)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Rectangle | bounds | The System.Drawing.Rectangle context. |
System.Drawing.Size | size | The size value. |
Returns
Type | Description |
---|---|
System.Drawing.Rectangle | Returns the rectangle value for the RightToLeft mode. |
GetRectangle(Rectangle, Size, Int32)
Gets an equivalent rectangle value for the right to left mode. Based on the offset value the right to left mode rectangle has calculated.
Declaration
public static Rectangle GetRectangle(Rectangle bounds, Size size, int offset)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Rectangle | bounds | The System.Drawing.Rectangle context. |
System.Drawing.Size | size | The size value. |
System.Int32 | offset | The offset value used to calculate the rectangle value for right to left mode. |
Returns
Type | Description |
---|---|
System.Drawing.Rectangle | Returns the rectangle value for right to left mode. |