Displays the content of a Diagram object and provides the ability to autoscroll and display scrollbars.
The following tables list the members exposed by the DiagramView type.
Name | Description | |
---|---|---|
![]() |
Initializes a new instance of the DiagramView class. |
Name | Description | |
---|---|---|
![]() |
Gets or sets a value indicating whether the view will autoscroll during user interactions when the interaction happens near the edge of the view. |
|
![]() |
Gets or sets the step used to translate the view during autoscrolling. |
|
![]() |
Gets the diagram displayed in the view. |
|
![]() |
Gets or sets the distance from the edge of the view where user interactions would trigger autoscrolling. |
Name | Description | |
---|---|---|
![]() |
Zooms the view to fit the document contents in the Diagram client area. |
Name | Description | |
---|---|---|
![]() |
Layout.OnAdded override. |
|
![]() |
VisualElement.OnParentSet override. |
|
![]() |
Layout.OnRemoved override. |
|
![]() |
Raises the size allocated event. |
|
![]() |
This method is called during the measure pass of a layout cycle to get the desired size of an element. |