Skip to main content
A newer version of this page is available. .

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.v19.1.dll

Declaration

public MeasureUnit MeasureUnit { get; set; }

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.

See Also