TXTextControl.RulerBar.Alignment Property

Gets or sets a value specifying the alignment of the ruler bar in the document. Depending on the alignment either a horizontal or a vertical ruler is displayed. This property is automatically set to Top, if the control's Dock property is set to to Top or Bottom. It is automatically set to Left, if the control's Dock property is set to to Left or Right.

Introduced: 13.0.

Syntax

[C#]
public RulerBarAlignment Alignment { get; set; }
[Visual Basic]
Public Property Alignment As RulerBarAlignment
Value Description
Left The ruler bar is displayed with a vertical ruler.
Top The ruler bar is displayed with a horizontal ruler.

See Also