DiagramControl.MeasureUnit Property

Specifies the unit of measurement for the ruler displayed by the Canvas. This is a dependency property.

Namespace: DevExpress.Xpf.Diagram

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

Declaration

public MeasureUnit MeasureUnit { get; set; }
Public Property MeasureUnit As MeasureUnit

Property Value

Type Description
MeasureUnit

A unit of measure.

Remarks

The ruler is shown if the DiagramControl.ShowRulers property is set to true.

The available measurement units are stored in the MeasureUnits class.

Implements

DevExpress.Diagram.Core.IDiagramControl.MeasureUnit
See Also