System.Windows.Forms.Control.RtlTranslateLeftRight Method

Converts the specified System.Windows.Forms.LeftRightAlignment to the appropriate System.Windows.Forms.LeftRightAlignment to support right-to-left text.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
protected LeftRightAlignment RtlTranslateLeftRight (LeftRightAlignment align)

Parameters

align
One of the System.Windows.Forms.LeftRightAlignment values.

Returns

One of the System.Windows.Forms.LeftRightAlignment values.

Remarks

If the Control.RightToLeft property of System.Windows.Forms.RightToLeft is set to No, the return value is equal to the align parameter passed in.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0