Control.RtlTranslateHorizontal(HorizontalAlignment) Method

Definition

Convertit le HorizontalAlignment spécifié en HorizontalAlignment approprié pour prendre en charge le texte de droite à gauche.Converts the specified HorizontalAlignment to the appropriate HorizontalAlignment to support right-to-left text.

protected:
 System::Windows::Forms::HorizontalAlignment RtlTranslateHorizontal(System::Windows::Forms::HorizontalAlignment align);
protected System.Windows.Forms.HorizontalAlignment RtlTranslateHorizontal (System.Windows.Forms.HorizontalAlignment align);
member this.RtlTranslateHorizontal : System.Windows.Forms.HorizontalAlignment -> System.Windows.Forms.HorizontalAlignment
Protected Function RtlTranslateHorizontal (align As HorizontalAlignment) As HorizontalAlignment

Parameters

align
HorizontalAlignment

Une des valeurs HorizontalAlignment.One of the HorizontalAlignment values.

Returns

HorizontalAlignment

Une des valeurs HorizontalAlignment.One of the HorizontalAlignment values.

Remarks

Si la propriété RightToLeft de RightToLeft est définie sur No, la valeur de retour est égale au paramètre align passé.If the RightToLeft property of RightToLeft is set to No, the return value is equal to the align parameter passed in.

Applies to

See also