Search
DiagramView Methods
 


 Public Methods

  Name Description

BeginEdit

Overloaded. Enters inplace-edit mode, letting the user edit the text of the specified item.

BringIntoView

Overloaded. Scrolls the view to make the specified item visible.

CancelDrag

Cancels the current drag operation.

CloseToolTip

Closes current tooltip window.

DiagramToView

Overloaded. Transform coordinates from diagram to view coordinate system.

EndEdit

Exits inplace-edit mode and either accepts or rejects the changes made to the item's text.

OnApplyTemplate

Control.OnApplyTemplate override.

ScrollTo

Overloaded. Scrolls the view to specified position.

SetBehavior

Sets a value indicating how the control responds to user actions.

SetZoomFactor

Sets the zoom factor, preserving the on-screen position of the specified diagram point.

ViewToDiagram

Overloaded. Transform coordinates from view to diagram coordinate system.

ZoomIn

Zooms the diagram, making its items appear closer.

ZoomOut

Zooms the diagram out, making items appear further away.

ZoomToFit

Zooms the view to fit the diagram contents in the view client area.

ZoomToRect

Overloaded. Zooms and scrolls the view to fit the specified diagram rectangle in the viewport.

 Protected Methods

  Name Description

OnContextMenuOpening

Control.OnContextMenuOpening override.

OnCreateEditControl

Raises the CreateEditControl event.

OnCreateToolTipControl

Raises the CreateToolTipControl event.

OnDestroyEditControl

Raises the DestroyEditControl event.

OnMouseLeave

Control.OnMouseLeave override.

OnPreviewDragEnter

Control.OnPreviewDragEnter override.

OnPreviewDragLeave

Control.OnPreviewDragLeave override.

OnPreviewDragOver

Control.OnPreviewDragOver override.

OnPreviewDrop

Handles dropping of DraggedNode instances

 See Also