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 class. |
Name | Description | |
---|---|---|
Identifies the Document dependency property. |
||
Identifies the IgnoredItem attached property. |
Name | Description | |
---|---|---|
If enabled for a diagram element, the ruler alignment guides will ignore that element. |
Name | Description | |
---|---|---|
Specifies the context menu associated with the ruler. |
||
Gets or sets the DiagramView to show inside this Ruler. |
||
Gets or sets the Diagram document this ruler is associated with. This property is obsolete; set DiagramView instead. |
||
Gets or sets a value indicating whether alignment guides are active. |
||
Gets or sets the color used to paint guides. |
||
Gets or sets the alignment of the horizontal scale. |
||
Gets or sets the height 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 length of scale marks. |
||
Gets or sets whether the vertical scale should show negated values, simulating that the coordinate system's Y axis grows to the top. |
||
Gets or sets the color used to paint cursor projections. |
||
Gets or sets the color of the projections of the active node on the ruler scales. |
||
Gets or sets whether the projection of nodes on ruler's scales rotates with them. |
||
Gets or sets the color used to paint the background of ruler scales. |
||
Gets or sets a value indicating whether to show the icon between the horizontal and vertical scales. |
||
Gets or sets whether the ruler aligns scale division marks to device pixels for more crisp appearance. |
||
Gets or sets the color used to paint texts in the ruler. |
||
Gets or sets the measure unit used by the ruler scales. |
||
Gets or sets the alignment of the vertical scale. |
||
Specifies whether the vertical ruler scale is visible. |
||
Gets or sets the width of the vertical scale. |
Name | Description | |
---|---|---|
Gets the value of the IgnoredItem attached property for an object. |
||
Sets the value of the IgnoredItem attached property for an object. |
Name | Description | |
---|---|---|
Control.OnMouseMove override. |
||
Raises the NodesAligned event. |
||
Control.OnMouseMove override. |
Name | Description | |
---|---|---|
Raised when the user aligns nodes using the ruler's alignment guide. |