RightToLeft Property

HtmlDocument.RightToLeft Property


Gets or sets the direction of text in the current document.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public bool RightToLeft { get; set; }

Property Value

Type: System.Boolean

true if text renders from right to left; otherwise, false.

RightToLeft will not have any value unless it has been set explicitly, either in code or in HTML.

Unlike the RightToLeft property on Windows Forms controls, RightToLeft on the managed HTML DOM will not affect the direction of Latin text.

.NET Framework
Available since 2.0
Return to top
© 2016 Microsoft