All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

DiagramControl.ShowMeasureUnit Property

Specifies whether to display the unit of measurement in the Properties Panel, Page Setup Window, and Bottom Panel. This is a dependency property.

Namespace: DevExpress.Xpf.Diagram

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

Declaration

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

Property Value

Type Description
Boolean

true, to display the unit of measurement in UI; otherwise, false.

Remarks

Set the ShowMeasureUnit property to true to use the unit of measurement in the Properties Panel and Bottom Panel.

If the ShowMeasureUnit property is set to false, the MeasureUnit value only affects the ruler's unit of measurement and values in the Page Setup Window. The Properties Panel and Bottom Panel display values in pixels.

The illustration below shows a diagram with the MeasureUnit property set to Inches.

Implements

DevExpress.Diagram.Core.IDiagramControl.ShowMeasureUnit
See Also