You are viewing help content for pre-release software. This document and the features it describes are subject to change. Switch to the current version.

DiagramControl.ShowRulers Property

Specifies whether to display rulers on the Canvas. This is a dependency property.

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v20.2.dll

Declaration

public bool ShowRulers { get; set; }
Public Property ShowRulers As Boolean

Property Value

Type Description
Boolean

true if rulers are displayed on the canvas; otherwise, false.

Remarks

The picture below illustrates the canvas with rulers.

Diagram_Canvas

The MeasureUnit property affects the ruler's unit of measurement.

Implements

DevExpress.Diagram.Core.IDiagramControl.ShowRulers
See Also