System.Windows.Forms.Control.RtlTranslateAlignment Method

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

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
protected HorizontalAlignment RtlTranslateAlignment (HorizontalAlignment align)

Parameters

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

Returns

One of the System.Windows.Forms.HorizontalAlignment 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