TXTextControl.WPF.RulerBar Class

The WPF.RulerBar class represents a tool bar which can be used to show or to set indents, margins and tabs of a WPF.TextControl. It can be connected with a WPF.TextControl through the WPF.TextControl.RulerBar or WPF.TextControl.VerticalRulerBar properties.

Introduced: 16.0.

Syntax

[C#]
public class RulerBar : TextControlToolBar
[Visual Basic]
Public Class RulerBar
  Inherits TextControlToolBar

Properties

Property Description
BorderStyle Gets or sets the border style of the ruler bar.
DisplayColors Gets or sets the colors of the ruler bar.
EnablePageMargins Enables or disables the setting of page margins.
ScaleUnit Gets or sets the unit of the ruler bar's scale.

See Also