Search
VirtualizingDiagram Methods
 


 Public Methods

  Name Description

AddElement

For internal use. Implements VisualContainer.AddElement. (Inherited from Diagram.)

AlignPointToGrid

Returns a point of the alignment grid nearest to the one passed as an argument. (Inherited from Diagram.)

AllowNodeBounds

Determines whether node can be placed at specified coordinates. (Inherited from Diagram.)

Arrange

Arranges the diagram with the given layout. (Inherited from Diagram.)

ArrangeAnimated

Arranges the diagram using the given layout, and animates items moving to their new positions. (Inherited from Diagram.)

ArrangeAsync

Arranges the diagram asynchronously using the specified graph layout algorithm. (Inherited from Diagram.)

ArrangeLinkLabels

Rearranges link labels whose AutoArrange property is enabled. (Inherited from Diagram.)

BeginInit

FrameworkElement.BeginInit override. (Inherited from Diagram.)

CancelDrag

Cancels the current drag operation. (Inherited from Diagram.)

ChangeUnit

Sets new MeasureUnit value and scales the coordinates of diagram items so that their absolute size remains unchanged. (Inherited from Diagram.)

ClearAll

Removes all items from the diagram. (Inherited from Diagram.)

ClientToDoc

Overloaded.   (Inherited from Diagram.)

Clone

Creates a copy of this diagram. (Inherited from Diagram.)

Compact

Moves nodes as far as possible to the top or left sides of diagram without changing their initial relative positions. (Inherited from Diagram.)

CopySelection

Overloaded. Creates a copy of specified diagram elements. (Inherited from Diagram.)

CopyTo

Copies this diagram's properties and items to specified target diagram. (Inherited from Diagram.)

CopyToClipboard

Overloaded.   (Inherited from Diagram.)

CreateImage

Overloaded.   (Inherited from Diagram.)

CreateThemeFromDefaults

Creates a Theme object representing the default properties of the diagram. (Inherited from Diagram.)

CutToClipboard

Overloaded. Cuts the currently selected items to the Windows clipboard. (Inherited from Diagram.)

DocToClient

Overloaded.   (Inherited from Diagram.)

DrawStyledText

Draws a formatted text string, the same way text is drawn in shape nodes whose EnableStyledText property is set to true. This method lets you display styled text in custom-drawn nodes or links. (Inherited from Diagram.)

EffectiveTouchHitDistance

Returns TouchHitDistance or a default value. (Inherited from Diagram.)

EnableLogging

Enables diagnostic logging to a file. (Inherited from Diagram.)

EndInit

FrameworkElement.EndInit override. (Inherited from Diagram.)

EnumByReverseZ

Hit-tests diagram items in reverse Z order. (Inherited from Diagram.)

EnumTopLevelByReverseZ

Hit-tests diagram top-level items in reverse Z order. (Inherited from Diagram.)

ExecuteCommand

Executes the specified command on this diagram. (Inherited from Diagram.)

FindGroup

Finds the group that has the specified tag value. (Inherited from Diagram.)

FindLink

Finds the link that has the specified tag value. (Inherited from Diagram.)

FindLinkById

Finds the link that has the specified id value. (Inherited from Diagram.)

FindNode

Finds the node that has the specified tag value. (Inherited from Diagram.)

FindNodeById

Finds the node that has the specified id value. (Inherited from Diagram.)

GetContentBounds

Returns the smallest rectangle that bounds all diagram objects. (Inherited from Diagram.)

GetDataItem

Gets the item from the data source that is represented by the specified DiagramItem.

GetDiagramItem

Returns the value of the DiagramItem attached property, representing the DiagramItem associated with a UIElement. (Inherited from Diagram.)

GetDiagramLink

Gets the DiagramLink that represents the specified data item on screen.

GetDiagramNode

Gets the DiagramNode that represents the specified data item on screen.

GetIsDiagramScroller

Gets the value of the IsDiagramScroller attached property from a given element. (Inherited from Diagram.)

GetItemAt

Overloaded.   (Inherited from Diagram.)

GetItemBounds

Retrieves the bounding rectangle of the specified item within the current diagram. (Inherited from Diagram.)

GetLinkAt

Overloaded. Finds and returns the link that lies at the specified location. (Inherited from Diagram.)

GetLinksAt

Returns the links that contain the specified point. (Inherited from Diagram.)

GetNearestNode

Returns the node nearest to the specified point. (Inherited from Diagram.)

GetNodeAt

Overloaded. Gets the node that lies at the specified location. (Inherited from Diagram.)

GetNodesAt

Returns the nodes that contain the specified point. (Inherited from Diagram.)

GetNodesInViewport

Returns all nodes visible in the current viewport. (Inherited from Diagram.)

HandleMouseMove

Propagates mouse input to interested manipulators. (Inherited from Diagram.)

HitTestLabels

Returns the item label located at specified position. (Inherited from Diagram.)

HitTestManipulators

Tests whether the specified point is within a manipulator of a diagram element. (Inherited from Diagram.)

Invalidate

Invalidates the specified rectangle of the diagram, causing it to be repainted. (Inherited from Diagram.)

InvalidateBackground

Repaints the diagram background, and raises the DrawBackground event for custom drawing. (Inherited from Diagram.)

InvalidateForeground

Repaints the diagram foreground, and raises the DrawForeground event for custom drawing. (Inherited from Diagram.)

IsClassRegistered

Checks if a class is registered for serialization support. (Inherited from Diagram.)

IsClientClassRegistered

Checks if a class is registered for JSON serialization support. (Inherited from Diagram.)

IsItemInteractive

Checks if the specified item can be modified interactively. (Inherited from Diagram.)

IsItemLocked

Checks if the specified item is locked. (Inherited from Diagram.)

IsItemVisible

Checks if the specified item is currently visible. (Inherited from Diagram.)

LoadFromJson

Loads the diagram from a JSON-formatted string. (Inherited from Diagram.)

LoadFromJsonAsync

Loads the diagram from a JSON-formatted string. (Inherited from Diagram.)

LoadFromJsonFile

Loads the diagram from a JSON file. (Inherited from Diagram.)

LoadFromJsonFileAsync

Loads the diagram from a JSON file. (Inherited from Diagram.)

LoadFromJsonObject

Loads the diagram from a JSON object. (Inherited from Diagram.)

LoadFromString

Decodes diagram contents from a string that was created with SaveToString. (Inherited from Diagram.)

LoadFromXml

Overloaded. Loads the contents of an XML diagram document into the control. (Inherited from Diagram.)

LoadFromXmlAsync

Overloaded.   (Inherited from Diagram.)

MeasureString

Measures the specified text when drawn with the specified font in an area with the specified width taking into consideration the current affine transform of the diagram. (Inherited from Diagram.)

PasteFromClipboard

Overloaded.   (Inherited from Diagram.)

PasteSelection

Adds the specified items and groups to the specified diagram document. (Inherited from Diagram.)

PixelToUnit

Converts the specified point from client to document coordinates ignoring the current scale transformation. (Inherited from Diagram.)

Print

Displays a Print dialog and prints the diagram. (Inherited from Diagram.)

PrintPreview

Overloaded. Displays the diagram in a Print Preview window. (Inherited from Diagram.)

RaiseCellTextEdited

Raises the CellTextEdited event. (Inherited from Diagram.)

RaiseCellTextEditing

Raises the CellTextEditing event to validate entering in-place editing mode. (Inherited from Diagram.)

RaiseClicked

Overloaded. Raises the Clicked event of the diagram or one of the *Clicked events related to diagram items. (Inherited from Diagram.)

RaiseCreated

Raises the appropriate *Created event according to the type of the specified item. (Inherited from Diagram.)

RaiseDeleting

Raises the appropriate *Deleting event according to the type of the specified item. (Inherited from Diagram.)

RaiseDoubleClicked

Overloaded. Raises the DoubleClicked event of the diagram or one of the *DoubleClicked events related to diagram items. (Inherited from Diagram.)

RaiseLaneGridHeaderTextEdited

Raises the LaneGridHeaderTextEdited event. (Inherited from Diagram.)

RaiseLaneGridHeaderTextEditing

Raises the LaneGridHeaderTextEditing event to validate entering inplace edit mode. (Inherited from Diagram.)

RaiseLinkTextEdited

Overloaded.   (Inherited from Diagram.)

RaiseLinkTextEditing

Overloaded.   (Inherited from Diagram.)

RaiseNodeTextEdited

Overloaded.   (Inherited from Diagram.)

RaiseNodeTextEditing

Overloaded.   (Inherited from Diagram.)

RaisePasted

Raises the appropriate Pasted event. (Inherited from Diagram.)

RaiseRealized

Raises the appropriate *Realized event according to the type of the specified item.

RaiseSelecting

Raises the appropriate *Selecting event. (Inherited from Diagram.)

RaiseTreeItemTextEditing

Raises the TreeItemTextEditing event to validate entering inplace edit mode. (Inherited from Diagram.)

RealizeItems

Create actual diagram items in specified area.

RegisterClass

Overloaded.   (Inherited from Diagram.)

RegisterItemClass

Overloaded.   (Inherited from Diagram.)

RemoveElement

For internal use. Implements VisualContainer.RemoveElement. (Inherited from Diagram.)

ResizeToFitItem

Resizes the document extents so that the specified item is contained within. (Inherited from Diagram.)

ResizeToFitItems

Overloaded. Resizes the document scrollable area so it fits all diagram items. (Inherited from Diagram.)

ResumeLinkRouter

Called when the control ends a batch update operation that might affect many links. (Inherited from Diagram.)

RouteAllLinks

Overloaded.   (Inherited from Diagram.)

SaveToJson

Saves the diagram to a JSON-formatted string. (Inherited from Diagram.)

SaveToJsonAsync

Saves the diagram to a JSON-formatted string. (Inherited from Diagram.)

SaveToJsonFile

Saves the diagram into a JSON file. (Inherited from Diagram.)

SaveToJsonFileAsync

Saves the diagram into a JSON file. (Inherited from Diagram.)

SaveToJsonObject

Saves the diagram to a JSON object. (Inherited from Diagram.)

SaveToString

Overloaded. Encodes the diagram contents into an ASCII string. (Inherited from Diagram.)

SaveToXml

Overloaded. Saves the diagram to an XML document. (Inherited from Diagram.)

SaveToXmlAsync

Overloaded.   (Inherited from Diagram.)

SetIsDiagramScroller

Sets the value of the IsDiagramScroller attached property to a given element. (Inherited from Diagram.)

SetItemBounds

Sets the location and size of the specified item within the current diagram. (Inherited from Diagram.)

SuspendLinkRouter

Called when the control starts a batch update operation that might affect many links. The diagram collects links specified through Route and RouteAllLinks calls and defers finding their paths to when ResumeLinkRouter is called. (Inherited from Diagram.)

UnitToPixel

Converts the specified point from document to client coordinates ignoring the current scale transformation. (Inherited from Diagram.)

UpdateRuntimeIndices

For internal use. (Inherited from Diagram.)

 Protected Methods

  Name Description

ArrangeOverride

Control.ArrangeOverride override. (Inherited from Diagram.)

DrawGrid

Renders the diagram grid. (Inherited from Diagram.)

GetVisualChild

Visual.GetVisualChild override. (Inherited from Diagram.)

MeasureOverride

Control.MeasureOverride override. (Inherited from Diagram.)

OnActionRecorded

Raises the ActionRecorded event. (Inherited from DiagramBase.)

OnActionRecording

Raises the ActionRecording event. (Inherited from DiagramBase.)

OnActionRedone

Raises the ActionRedone event. (Inherited from DiagramBase.)

OnActionUndone

Raises the ActionUndone event. (Inherited from DiagramBase.)

OnArranged

Raises the Arranged event. (Inherited from DiagramBase.)

OnBeginLoad

Raises the BeginLoad event. (Inherited from DiagramBase.)

OnBoundsChanged

Raises the BoundsChanged event. (Inherited from DiagramBase.)

OnCellClicked

Raises the CellClicked event. (Inherited from DiagramBase.)

OnCellDoubleClicked

Raises the CellDoubleClicked event. (Inherited from DiagramBase.)

OnCellTextEdited

Raises the CellTextEdited event. (Inherited from DiagramBase.)

OnCellTextEditing

Raises the CellTextEditing event to validate entering inplace edit mode. (Inherited from DiagramBase.)

OnClicked

Raises the Clicked event. (Inherited from DiagramBase.)

OnContainerChildAdded

DiagramBase.OnContainerChildAdded override.

OnContainerChildAdding

Raises the ContainerChildAdding event. (Inherited from DiagramBase.)

OnContainerChildRemoved

DiagramBase.OnContainerChildRemoved override.

OnContainerChildRemoving

Raises the ContainerChildRemoving event. (Inherited from DiagramBase.)

OnContainerFolded

Raises the ContainerFolded event. (Inherited from DiagramBase.)

OnContainerUnfolded

Raises the ContainerUnfolded event. (Inherited from DiagramBase.)

OnContextMenuOpening

Raises the ContextMenuOpening event. (Inherited from DiagramBase.)

OnCopyHostedControl

Raises the CopyHostedControl event. (Inherited from DiagramBase.)

OnDefaultShapeChanged

Raises the DefaultShapeChanged event. (Inherited from DiagramBase.)

OnDeserializeControl

Raises the DeserializeControl event. (Inherited from DiagramBase.)

OnDeserializeTag

Raises the DeserializeTag event. (Inherited from DiagramBase.)

OnDestinationAnchorChanged

Raises the DestinationAnchorChanged event. (Inherited from DiagramBase.)

OnDirtyChanged

Raises the DirtyChanged event. (Inherited from DiagramBase.)

OnDoubleClicked

Raises the DoubleClicked event. (Inherited from DiagramBase.)

OnDrawAdjustmentHandles

Raises the DrawAdjustmentHandles event. (Inherited from DiagramBase.)

OnDrawAnchorPoint

Raises the DrawAnchorPoint event. (Inherited from DiagramBase.)

OnDrawBackground

Raises the DrawBackground event. (Inherited from DiagramBase.)

OnDrawCell

Raises the DrawCell event. (Inherited from DiagramBase.)

OnDrawForeground

Raises the DrawForeground event. (Inherited from DiagramBase.)

OnDrawLaneHeader

Raises the DrawLaneHeader event. (Inherited from DiagramBase.)

OnDrawLink

Raises the DrawLink event. (Inherited from DiagramBase.)

OnDrawNode

Raises the DrawNode event. (Inherited from DiagramBase.)

OnDrop

Handles dropping of DraggedNode instances (Inherited from Diagram.)

OnEndLoad

Raises the EndLoad event. (Inherited from DiagramBase.)

OnEnterInplaceEditMode

Raises the EnterInplaceEditMode event. (Inherited from DiagramBase.)

OnExpandButtonClicked

Raises the ExpandButtonClicked event. (Inherited from DiagramBase.)

OnGroupDestroyed

Raises the GroupDestroyed event. (Inherited from DiagramBase.)

OnHitTestAdjustmentHandles

Raises the HitTestAdjustmentHandles event. (Inherited from DiagramBase.)

OnInitializeLasso

Raises the InitializeLasso event. (Inherited from DiagramBase.)

OnInitializeLink

Raises the InitializeLink event. (Inherited from DiagramBase.)

OnInitializeNode

Raises the InitializeNode event. (Inherited from DiagramBase.)

OnItemAdded

Raises the ItemAdded event. (Inherited from DiagramBase.)

OnItemRemoved

Raises the ItemRemoved event. (Inherited from DiagramBase.)

OnJsonDeserializeTag

Raises the JsonDeserializeTag event. (Inherited from DiagramBase.)

OnJsonSerializeTag

Raises the JsonSerializeTag event. (Inherited from DiagramBase.)

OnLaneGridHeaderTextEdited

Raises the LaneGridHeaderTextEdited event. (Inherited from DiagramBase.)

OnLaneGridHeaderTextEditing

Raises the LaneGridHeaderTextEditing event. (Inherited from DiagramBase.)

OnLeaveInplaceEditMode

Raises the LeaveInplaceEditMode event. (Inherited from DiagramBase.)

OnLinkActivated

Raises the LinkActivated event. (Inherited from DiagramBase.)

OnLinkClicked

Raises the LinkClicked event. (Inherited from DiagramBase.)

OnLinkCreateCancelled

Raises the LinkCreateCancelled event. (Inherited from DiagramBase.)

OnLinkCreated

DiagramBase.OnLinkCreated override.

OnLinkCreating

Raises the LinkCreating event. (Inherited from DiagramBase.)

OnLinkDeactivated

Raises the LinkDeactivated event. (Inherited from DiagramBase.)

OnLinkDeleted

DiagramBase.OnLinkDeleted override.

OnLinkDeleting

Raises the LinkDeleting event. (Inherited from DiagramBase.)

OnLinkDeselected

Raises the LinkDeselected event. (Inherited from DiagramBase.)

OnLinkDoubleClicked

Raises the LinkDoubleClicked event. (Inherited from DiagramBase.)

OnLinkHovered

Raises the LinkHovered event. (Inherited from DiagramBase.)

OnLinkMenuOpening

Raises the LinkMenuOpening event. (Inherited from DiagramBase.)

OnLinkModified

DiagramBase.OnLinkModified override.

OnLinkModifyCancelled

Raises the LinkModifyCancelled event. (Inherited from DiagramBase.)

OnLinkModifying

Raises the LinkModifying event. (Inherited from DiagramBase.)

OnLinkPasted

Raises the LinkPasted event. (Inherited from DiagramBase.)

OnLinkPointerEnter

Raises the LinkPointerEnter event. (Inherited from DiagramBase.)

OnLinkPointerLeave

Raises the LinkPointerLeave event. (Inherited from DiagramBase.)

OnLinkRealized

Raises the LinkRealized event.

OnLinkRouted

Raises the LinkRouted event. (Inherited from DiagramBase.)

OnLinkSelected

Raises the LinkSelected event. (Inherited from DiagramBase.)

OnLinkSelecting

Raises the LinkSelecting event. (Inherited from DiagramBase.)

OnLinkSplit

Raises the LinkSplit event. (Inherited from DiagramBase.)

OnLinkStartModifying

Raises the LinkStartModifying event. (Inherited from DiagramBase.)

OnLinkTextEdited

Raises the LinkTextEdited event. (Inherited from DiagramBase.)

OnLinkTextEditing

Raises the LinkTextEditing event to validate entering inplace edit mode. (Inherited from DiagramBase.)

OnMagnifierFactorChanged

Raises the MagnifierFactorChanged event. (Inherited from DiagramBase.)

OnMeasureUnitChanged

Raises the MeasureUnitChanged event. (Inherited from DiagramBase.)

OnMouseDown

UIElement.OnMouseDown override. (Inherited from Diagram.)

OnMouseUp

UIElement.OnMouseUp override. (Inherited from Diagram.)

OnNodeActivated

Raises the NodeActivated event. (Inherited from DiagramBase.)

OnNodeClicked

Raises the NodeClicked event. (Inherited from DiagramBase.)

OnNodeCreateCancelled

Raises the NodeCreateCancelled event. (Inherited from DiagramBase.)

OnNodeCreated

DiagramBase.OnNodeCreated override.

OnNodeCreating

Raises the NodeCreating event. (Inherited from DiagramBase.)

OnNodeDeactivated

Raises the NodeDeactivated event. (Inherited from DiagramBase.)

OnNodeDeleted

DiagramBase.OnNodeDeleted override.

OnNodeDeleting

DiagramBase.OnNodeDeleting override.

OnNodeDeselected

Raises the NodeDeselected event. (Inherited from DiagramBase.)

OnNodeDoubleClicked

Raises the NodeDoubleClicked event. (Inherited from DiagramBase.)

OnNodeHovered

Raises the NodeHovered event. (Inherited from DiagramBase.)

OnNodeMenuOpening

Raises the NodeMenuOpening event. (Inherited from DiagramBase.)

OnNodeModified

DiagramBase.OnNodeModified override.

OnNodeModifyCancelled

Raises the NodeModifyCancelled event. (Inherited from DiagramBase.)

OnNodeModifying

Raises the NodeModifying event. (Inherited from DiagramBase.)

OnNodePasted

Raises the NodePasted event. (Inherited from DiagramBase.)

OnNodePointerEnter

Raises the NodePointerEnter event. (Inherited from DiagramBase.)

OnNodePointerLeave

Raises the NodePointerLeave event. (Inherited from DiagramBase.)

OnNodeRealized

Raises the NodeRealized event.

OnNodeSelected

Raises the NodeSelected event. (Inherited from DiagramBase.)

OnNodeSelecting

Raises the NodeSelecting event. (Inherited from DiagramBase.)

OnNodeStartModifying

Raises the NodeStartModifying event. (Inherited from DiagramBase.)

OnNodeTextEdited

Raises the NodeTextEdited event. (Inherited from DiagramBase.)

OnNodeTextEditing

Raises the NodeTextEditing event to validate entering inplace edit mode. (Inherited from DiagramBase.)

OnOriginAnchorChanged

Raises the OriginAnchorChanged event. (Inherited from DiagramBase.)

OnPreviewMouseDown

UIElement.OnPreviewMouseDown override. (Inherited from Diagram.)

OnPreviewMouseMove

UIElement.OnPreviewMouseMove override. (Inherited from Diagram.)

OnPreviewMouseUp

UIElement.OnPreviewMouseUp override. (Inherited from Diagram.)

OnSelectionChanged

Raises the SelectionChanged event. (Inherited from DiagramBase.)

OnSelectionModified

Raises the SelectionModified event. (Inherited from DiagramBase.)

OnSelectionModifyCancelled

Raises the SelectionModifyCancelled event. (Inherited from DiagramBase.)

OnSelectionModifying

Raises the SelectionModifying event. (Inherited from DiagramBase.)

OnSelectionStartModifying

Raises the SelectionStartModifying event. (Inherited from DiagramBase.)

OnSerializeControl

Raises the SerializeControl event. (Inherited from DiagramBase.)

OnSerializeTag

Raises the SerializeTag event. (Inherited from DiagramBase.)

OnSetSelfLoopShape

Raises the SetSelfLoopShape event. (Inherited from DiagramBase.)

OnShapeModified

Raises the ShapeModified event. (Inherited from DiagramBase.)

OnTableColumnResized

Raises the TableColumnResized event. (Inherited from DiagramBase.)

OnTableColumnResizing

Raises the TableColumnResizing event. (Inherited from DiagramBase.)

OnTableRowResized

Raises the TableRowResized event. (Inherited from DiagramBase.)

OnTableRowResizing

Raises the TableRowResizing event. (Inherited from DiagramBase.)

OnTableSectionCollapsed

Raises the TableSectionCollapsed event. (Inherited from DiagramBase.)

OnTableSectionExpanded

Raises the TableSectionExpanded event. (Inherited from DiagramBase.)

OnTreeCollapsed

Raises the TreeCollapsed event. (Inherited from DiagramBase.)

OnTreeExpanded

Raises the TreeExpanded event. (Inherited from DiagramBase.)

OnTreeItemTextEditing

Raises the TreeItemTextEditing event. (Inherited from DiagramBase.)

OnValidateAnchorPoint

Raises the ValidateAnchorPoint event. (Inherited from DiagramBase.)

OnValidateLinkCrossing

Raises the ValidateLinkCrossing event. (Inherited from DiagramBase.)

OnVisualParentChanged

FrameworkElement.OnVisualParentChanged override. (Inherited from Diagram.)

SetAutoHandles

Show auto handles for the item located at the specified position. (Inherited from Diagram.)

 See Also