Control.RtlTranslateHorizontal(HorizontalAlignment) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
One of the HorizontalAlignment values.
Returns
One of the HorizontalAlignment values.
Remarks
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.