The Ruler control provides horizontal and vertical scales that help users measure diagram items.
The following tables list the members exposed by the Ruler type.
Name | Description | |
---|---|---|
![]() |
Initializes a new instance of the Ruler control. |
Name | Description | |
---|---|---|
![]() ![]() |
Identifies the HorizontalOffset dependency property. |
|
![]() ![]() |
Identifies the VerticalOffset dependency property. |
Name | Description | |
---|---|---|
![]() |
Gets or sets the Diagram object this ruler is associated with. |
|
![]() |
Gets a value that contains the horizontal offset of the scrolled diagram. |
|
![]() |
Gets or sets the alignment of the horizontal scale. |
|
![]() |
Specifies whether the horizontal ruler scale is visible. |
|
![]() |
Gets or sets the number of minor divisions to show when Unit is set to Inch. |
|
![]() |
Gets or sets the color used to paint cursor projections. |
|
![]() |
Gets or sets the color used to paint the projection of the active node. |
|
![]() |
Gets or sets whether the projection of nodes on ruler's scales rotates with them. |
|
![]() |
Gets or sets the color used to paint the color of the ruler scales. |
|
![]() |
Gets or sets a value indicating whether to show the icon between the horizontal and vertical scales. |
|
![]() |
Gets or sets the measure unit used by the ruler. |
|
![]() |
Gets a value that contains the vertical offset of the scrolled diagram. |
|
![]() |
Gets or sets the alignment of the vertical scale. |
|
![]() |
Specifies whether the vertical ruler scale is visible. |
Name | Description | |
---|---|---|
![]() |
Updates the active node's projection positions on the ruler scales. |