System.Windows.Forms.Control.RtlTranslateAlignment Method

Converts the specified System.Drawing.ContentAlignment to the appropriate System.Drawing.ContentAlignment to support right-to-left text.

Syntax

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

Parameters

align
One of the System.Drawing.ContentAlignment values.

Returns

One of the System.Drawing.ContentAlignment 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