The Diagram class represents a flow diagram.
The following tables list the members exposed by the Diagram type.
Name | Description | |
---|---|---|
Initializes a new instance of the Diagram class. |
Name | Description | |
---|---|---|
Identifies the AdjustmentHandlesSize dependency property. |
||
Identifies the AlignmentGuidePen dependency property. |
||
Identifies the AllowMultipleResize dependency property. |
||
Identifies the AllowUnconnectedLinks dependency property. |
||
Identifies the AutoScroll dependency property. |
||
Identifies the CanRedo dependency property. |
||
Identifies the CanUndo dependency property. |
||
Identifies the ContainerNodeStyle dependency property. |
||
Identifies the DiagramLinkStyle dependency property. |
||
A shared DummyNode instance. |
||
Identifies the EnableLanes dependency property. |
||
Identifies the ExpandButtonTemplate dependancy property. |
||
Identifies the GridDashArray dependency property. |
||
Identifies the GridPointSize dependency property. |
||
Identifies the MagnifierFactor dependency property. |
||
Identifies the MagnifierHeight dependency property. |
||
Identifies the MagnifierStyle dependency property. |
||
Identifies the MagnifierWidth dependency property. |
||
Identifies the NodeEffectsSource dependency property. |
||
Identifies the ShapeNodeStyle dependency property. |
||
Identifies the TableNodeStyle dependency property. |
||
Identifeis the TreeViewNodeStyle dependency property. |
||
Identifies the ZoomFactor property. |
Name | Description | |
---|---|---|
Gets or sets the active diagram element. |
||
Gets or sets the visual style of adjustment handles of the active item. |
||
Gets or sets the zero-based index of the active layer. |
||
Gets or sets the size of the handles, which appear around selected objects. This is a dependency property. |
||
Gets or sets the pen used to draw alignment guides. This is a dependency property. |
||
Gets or sets a value indicating whether the diagram items should be aligned to a grid. |
||
Gets or sets a value indicating whether in-place editing of the text of objects is enabled. |
||
Specifies whether multiple selected nodes can be resized simultaneously. This is a dependency property. |
||
Gets or sets a value indicating whether users are allowed to draw links that are not connected to any node. This is a dependency property. |
||
Gets or sets the maximal horizontal or vertical distance at which a node aligns to the borders ot other nodes. |
||
Gets or sets whether nodes should automatically align to the borders ot other nodes during user interaction. |
||
Gets or sets a value indicating whether the document area should be resized automatically so it fits the diagram contents. |
||
Gets or sets a value indicating whether auto scrolling of the document area is enabled. This is a dependency property. |
||
Specifies the maximum distance at which links auto-snap to nodes. |
||
Specifies whether link end points should automatically snap to the nearest diagram node. |
||
Gets or sets the brush used for painting the diagram background. |
||
Gets or sets a value indicating how the control responds to user actions. |
||
Gets or sets a value representing the size of the diagram's scrollable area. |
||
Gets or sets a value indicating whether there is a command in the redo history which can be redone. |
||
Gets or sets a value indicating whether there is a command in the undo history which can be undone. |
||
Gets or sets the theme-level style for container nodes. This is a dependency property. |
||
Gets or sets the default value for the Foldable property of containers. |
||
Gets or sets the radius length of decorations displayed at link intersection points. |
||
Gets or sets a custom behavior object specifying how DiagramLite responds to mouse input. |
||
Gets or sets the type of the controls that will be hosted by default in newly create ControlNode objects. |
||
Gets or sets the default shape of shape nodes. |
||
Gets or sets a value that specifies what action should be performed when the user hits the Del key. |
||
Gets or sets the theme-level style for diagram links. This is a dependency property. |
||
Gets or sets the visual style of disabled adjustment handles. |
||
DocumentPlane is visual child of diagram and ancestor of all diagram items. The DocumentPlane element is translated with respect to Diagram element so that the point Diagram.Bounds.TopLeft from the DocumentPlane is rendered at Diagram element location (0,0). The coordinate system of the DocumentPlane is the document coordinate system. The intended use of this property is mainly in MouseMove event handling |
||
Gets or sets the default value for the Dynamic property of new links. |
||
Enables or disables handling of mouse events. |
||
Gets or sets whether lanes are enabled. This is a dependency property. |
||
Gets or sets a value indicating what should happen when a user clicks the [+/-] button that is displayed near expandable nodes. |
||
Gets or sets the brush used to fill expand/collapse buttons of nodes. |
||
Gets or sets where expand/collapse buttons are located relatively to their nodes. |
||
Gets or sets a custom ControlTemplate for the ExpandButton class. |
||
Gets or sets a value, indicating in which direction object hierarchies are expanded. |
||
Gets a Factory instance that lets you add programmatically new items to the diagram. |
||
Gets or sets the color of the grid points. |
||
Gets or sets a collection of double values that indicate the pattern of dashes and gaps that is used to draw grid lines. This is a dependency property. |
||
Gets or sets the horizontal offset of the first point of the alignment grid. |
||
Gets or sets the vertical offset of the first point of the alignment grid. |
||
Gets or sets the size of shapes used to represent grid points. This is a dependency property. |
||
Gets or sets the horizontal distance between adjacent grid points. |
||
Gets or sets the vertical distance between adjacent grid points. |
||
Gets or sets the visual style of the alignment grid. |
||
Gets or sets a value indicating the order in which items are hit-tested. |
||
Gets or sets a value indicating whether pressing the ENTER key should exit in-place editing mode and accept changes made to text. |
||
Gets or sets a value indicating whether pressing the ESC key should exit inplace-edit mode and reject changes made to text. |
||
Gets an InteractionState instance representing the current action being carried out by the user. |
||
Represents a strongly typed collection of DiagramItem objects. |
||
Gets the Grid instance that represents the lane grid. |
||
Gets a list of the layers in the current diagram. |
||
Gets or sets the license key of the control. |
||
Gets or sets the shape displayed at the base of new links. |
||
Gets or sets the default size of the base of new links. |
||
Gets or sets the default value for the Brush property of links. |
||
Gets or sets how to render the intersection points where links cross their paths. |
||
Gets or sets the shape displayed as head of new links. |
||
Gets or sets the default size of arrowheads. |
||
Gets or sets default shape to be displayed in the middle of each segment of links. |
||
Gets or sets the default size of the shapes at middles of link segments. |
||
Gets or sets the default value for the Pen property of links. |
||
Gets or sets the component used to find paths for auto-routed links when diagram nodes are added or their positions change. |
||
Gets a DiagramLinkCollection containing the links. |
||
Gets or sets the default number of link segments. |
||
Gets or sets the default style of diagram links. |
||
Gets or sets the zoom factor of the magnifier tool. This is a dependency property. |
||
Gets or sets the height of the magnifier tool. This is a dependency property. |
||
Gets or sets the style of the magnifier tool. This is a dependency property. |
||
Gets or sets the width of the magnifier tool. This is a dependency property. |
||
Gets or sets the unit of measure used for logical coordinates in this diagram. |
||
Gets or sets how users can start modifying diagram items. |
||
Gets a collection with all effects applied to the nodes of this diagram. |
||
Gets a DiagramNodeCollection containing the nodes. |
||
Gets or sets a value indicating whether newly created nodes can be expanded. |
||
Sets the cursor and stops changing it depending on the context. |
||
Gets an object which provides customization properties for printed diagrams. |
||
Gets or sets value indicating how a tree is expanded. |
||
Gets or sets a value indicating whether the joins between segments of Polyline and Cascading links should be rounded. |
||
Gets or sets the radius of arc joins of rounded links' segments. |
||
Gets or sets a value indicating whether links should avoid nodes by going the shortest path from their origin to their destination without crossing any other nodes. |
||
Gets an object, which allows customizing various parameters of the link routing algorithm. |
||
Gets or sets the document's X scroll position. |
||
Gets or sets the document's Y scroll position. |
||
Gets or sets the size of the auto scroll zone near the edges of the control. |
||
Gets or sets the visual style of adjustment handles of selected items. |
||
Gets the Selection instance that represents the selection of items in this diagram. |
||
Gets or sets the default value for the Brush property of shape nodes. |
||
Gets or sets the default value for the HandlesStyle property of new shape nodes. |
||
Gets or sets the theme-level style for shape nodes. This is a dependency property. |
||
Gets or sets the default value for the Pen property of new ShapeNode objects. |
||
Gets or sets a value indicating whether and when node anchor points should be displayed. |
||
Gets or sets a value indicating whether the alignment grid is visible. |
||
Gets or sets the default value for the Brush property of tables. |
||
Gets or sets the default text for tables' captions. |
||
Gets or sets the default height of table captions. |
||
Gets or sets the default number of table columns. |
||
Gets or sets the default width of tables' columns. |
||
Gets or sets the theme-level style for table nodes. This is a dependency property. |
||
Gets or sets the default number of table rows. |
||
Gets or sets the default height of tables' rows. |
||
Gets or sets the theme associated with the diagram. |
||
Gets or sets the theme-level style for treeview nodes. This is a dependency property. |
||
Gets or sets a value indicating whether saving action records for later undo is enabled. |
||
Returns the visible portion of the diagram area. |
||
Gets or sets the zoom factor used to scale up or down the Diagram. |
Name | Description | |
---|---|---|
Returns a point of the alignment grid nearest to the one passed as an argument. |
||
Rearranges link labels whose AutoArrange property is enabled. |
||
Overloaded. |
||
Stops recording undo/redo commands into a CompositeCommand and discards the records created so far. |
||
Cancels the current drag operation. |
||
Sets new MeasureUnit value and scales the coordinates of diagram items so that their absolute size remains unchanged. |
||
Removes all items from the diagram. |
||
Stops recording undo/redo commands into a CompositeCommand and saves the composite in the history queue. |
||
Creates a copy of the currently selected objects and groups. |
||
Copies the current selection of items to the clipboard. |
||
Overloaded. Creates a bitmap containing an image of the Diagram. |
||
Creates a Theme object representing the default properties of the diagram. |
||
Cuts the currently selected items to the Windows clipboard. |
||
Continue updating the visual state of items. |
||
Exits the in-place editing mode and either accepts or rejects the changes made to the item's text. |
||
Executes the specified command on this diagram. |
||
Finds the link that has the specified id value. |
||
Finds the node that has the specified id value. |
||
Returns the smallest rectangle that bounds all diagram objects. |
||
Overloaded. |
||
Overloaded. Finds and returns the top-most link that lies at the specified location. |
||
Returns the node nearest to the specified point. |
||
Overloaded. |
||
Returns all nodes visible in the current viewport. |
||
Tests whether the specified point is within the manipulator of a diagram object and triggers the manipulator. |
||
Causes the entire visible diagram area to be repainted. |
||
Checks if the specified item can be modified interactively. |
||
Checks if the specified item is locked. |
||
Checks if the specified item is currently visible. |
||
Decodes diagram contents from a string that was created with SaveToString. |
||
Overloaded. |
||
FrameworkElement.OnApplyTemplate override. |
||
Overloaded. Pastes diagram items from the Windows clipboard. |
||
Adds the specified items and groups to this diagram. |
||
Overloaded. |
||
Raises the Clicked event. |
||
Raises the appropriate *Clicked event according to the type of the specified item. |
||
Raises the appropriate *Created event according to the type of the specified item. |
||
Raises the LinkDeleting or NodeDeleting event according to the type of the specified item. |
||
Overloaded. |
||
Raises the LinkTextEdited event. |
||
Raises the NodeTextEdited event. |
||
Raises the appropriate Pasted event. |
||
Executes again an action saved in the command history. |
||
Registers a class for serialization support. |
||
Registers a diagram item class for serialization support. |
||
Resizes the document extents so that the specified item is contained within. |
||
Overloaded. Resizes the document scrollable area so it fits all diagram items. |
||
Routes all links in the diagram in a way they do not cross nodes. |
||
Overloaded. Exports the Diagram to PNG. |
||
Returns a serialized form of the diagram as string |
||
Overloaded. |
||
Binds the lane-grid header positions to the offset of a ScrollViewer's scrollbars. |
||
Sets the zoom factor, preserving the on-screen position of the specified diagram point. |
||
Starts recording undo/redo commands into a CompositeCommand. |
||
Stops updating the visual state of items. |
||
Overloaded. |
||
Undoes an action saved in the command history. |
||
For internal use. |
||
For internal use. |
||
Zooms and scrolls the view to fit the specified document rectangle in the Diagram's visible area. |
Name | Description | |
---|---|---|
FrameworkElement.ArrangeOverride override. |
||
Control.OnMouseRightButtonDown override. |
||
Control.OnMouseRightButtonUp override. |
||
Removes the specified item from the diagram and creates a record in the undo/redo history. |
Name | Description | |
---|---|---|
Raises the ActionRedone event. (Inherited from DiagramBase.) |
||
Raises the ActionUndone event. (Inherited from DiagramBase.) |
||
Raises the BoundsChanged event. (Inherited from DiagramBase.) |
||
Raises the CellClicked event. (Inherited from DiagramBase.) |
||
Raises the CellDoubleClicked event. (Inherited from DiagramBase.) |
||
Raises the Clicked event. (Inherited from DiagramBase.) |
||
Raises the ContainerChildAdded event. (Inherited from DiagramBase.) |
||
Raises the ContainerChildRemoved event. (Inherited from DiagramBase.) |
||
Raises the ContainerFolded event. (Inherited from DiagramBase.) |
||
Raises the ContainerUnfolded event. (Inherited from DiagramBase.) |
||
Raises the DeserializeControl event. (Inherited from DiagramBase.) |
||
Raises the DeserializeTag event. (Inherited from DiagramBase.) |
||
Raises the DoubleClicked event. (Inherited from DiagramBase.) |
||
Raises the DrawAdjustmentHandles event. (Inherited from DiagramBase.) |
||
Raises the EnterInplaceEditMode event. (Inherited from DiagramBase.) |
||
Raises the ExpandButtonClicked event. (Inherited from DiagramBase.) |
||
Raises the HitTestAdjustmentHandles event. (Inherited from DiagramBase.) |
||
Raises the InitializeLink event. (Inherited from DiagramBase.) |
||
Raises the InitializeNode event. (Inherited from DiagramBase.) |
||
Raises the ItemAdded event. (Inherited from DiagramBase.) |
||
Raises the ItemRemoved event. (Inherited from DiagramBase.) |
||
Raises the LaneGridCellCreated event. (Inherited from DiagramBase.) |
||
Raises the LaneGridHeaderCreated event. (Inherited from DiagramBase.) |
||
Raises the LeaveInplaceEditMode event. (Inherited from DiagramBase.) |
||
Raises the LinkActivated event. (Inherited from DiagramBase.) |
||
Raises the LinkClicked event. (Inherited from DiagramBase.) |
||
Raises the LinkCreated event. (Inherited from DiagramBase.) |
||
Raises the LinkCreating event. (Inherited from DiagramBase.) |
||
Raises the LinkDeactivated event. (Inherited from DiagramBase.) |
||
Raises the LinkDeleted event. (Inherited from DiagramBase.) |
||
Raises the LinkDeleting event. (Inherited from DiagramBase.) |
||
Raises the LinkDeselected event. (Inherited from DiagramBase.) |
||
Raises the LinkDoubleClicked event. (Inherited from DiagramBase.) |
||
Raises the LinkModified event. (Inherited from DiagramBase.) |
||
Raises the LinkModifying event. (Inherited from DiagramBase.) |
||
Raises the LinkPasted event. (Inherited from DiagramBase.) |
||
Raises the LinkRouted event. (Inherited from DiagramBase.) |
||
Raises the LinkSelected event. (Inherited from DiagramBase.) |
||
Raises the LinkTextEdited event. (Inherited from DiagramBase.) |
||
Raises the MagnifierFactorChanged event. (Inherited from DiagramBase.) |
||
Raises the MeasureUnitChanged event. (Inherited from DiagramBase.) |
||
Raises the NodeActivated event. (Inherited from DiagramBase.) |
||
Raises the NodeClicked event. (Inherited from DiagramBase.) |
||
Raises the NodeCreated event. (Inherited from DiagramBase.) |
||
Raises the NodeCreating event. (Inherited from DiagramBase.) |
||
Raises the NodeDeactivated event. (Inherited from DiagramBase.) |
||
Raises the NodeDeleted event. (Inherited from DiagramBase.) |
||
Raises the NodeDeleting event. (Inherited from DiagramBase.) |
||
Raises the NodeDeselected event. (Inherited from DiagramBase.) |
||
Raises the NodeDoubleClicked event. (Inherited from DiagramBase.) |
||
Raises the NodeModified event. (Inherited from DiagramBase.) |
||
Raises the NodeModifying event. (Inherited from DiagramBase.) |
||
Raises the NodePasted event. (Inherited from DiagramBase.) |
||
Raises the NodeSelected event. (Inherited from DiagramBase.) |
||
Raises the NodeTextEdited event. (Inherited from DiagramBase.) |
||
Raises the Repaint event. (Inherited from DiagramBase.) |
||
Raises the SelectionChanged event. (Inherited from DiagramBase.) |
||
Raises the SelectionModified event. (Inherited from DiagramBase.) |
||
Raises the SelectionModifying event. (Inherited from DiagramBase.) |
||
Raises the SerializeControl event. (Inherited from DiagramBase.) |
||
Raises the SerializeTag event. (Inherited from DiagramBase.) |
||
Raises the SetSelfLoopShape event. (Inherited from DiagramBase.) |
||
Raises the TreeCollapsed event. (Inherited from DiagramBase.) |
||
Raises the TreeExpanded event. (Inherited from DiagramBase.) |
||
Raises the ValidateAnchorPoint event. (Inherited from DiagramBase.) |
||
Raises the ZoomFactorChanged event. (Inherited from DiagramBase.) |
Name | Description | |
---|---|---|
Raised when an action is redone. (Inherited from DiagramBase.) |
||
Raised when an action is undone. (Inherited from DiagramBase.) |
||
Raised when the diagram's active layer has changed. (Inherited from DiagramBase.) |
||
Raised when the Bounds property value has changed. (Inherited from DiagramBase.) |
||
Raised when the user clicks a table's cell. (Inherited from DiagramBase.) |
||
Raised when the user double-clicks a table's cell. (Inherited from DiagramBase.) |
||
Raised when the user clicks the diagram at a point where no items are located. (Inherited from DiagramBase.) |
||
Raised when a node is added to a ContainerNode, either programmatically or by the user. (Inherited from DiagramBase.) |
||
Raised when a node is removed from a ContainerNode, either programmatically or by the user. (Inherited from DiagramBase.) |
||
Raised when the user folds a container by clicking the arrow-up button in the container's caption area. (Inherited from DiagramBase.) |
||
Raised when the user unfolds a container by clicking the arrow-down button in the container's caption area. (Inherited from DiagramBase.) |
||
Lets you load the attributes of controls hosted inside ControlNodes. (Inherited from DiagramBase.) |
||
Raised when the Tag or Id of a diagram item must be deserialized from XML format. (Inherited from DiagramBase.) |
||
Raised when the user double-clicks the diagram at a point where no items are located. (Inherited from DiagramBase.) |
||
Raised when item's adjustment handles must be custom drawn. (Inherited from DiagramBase.) |
||
Raised when entering inplace-edit mode. (Inherited from DiagramBase.) |
||
Raised when the user clicks the [+/-] button of an Expandable node. (Inherited from DiagramBase.) |
||
Raised when custom hit testing of item's adjustment handles must be performed. (Inherited from DiagramBase.) |
||
Raised when the user starts drawing a new link, just after the DiagramLink instance is created. (Inherited from DiagramBase.) |
||
Raised when the user starts drawing a new node, just after the DiagramNode instance is created. (Inherited from DiagramBase.) |
||
Raised when an item is added to the diagram, either programmatically or interactively. (Inherited from DiagramBase.) |
||
Raised when an item is removed from the diagram, either programmatically or interactively. (Inherited from DiagramBase.) |
||
Raised when a lane grid's cell has been created to allow additional cusomtization of its presentation. (Inherited from DiagramBase.) |
||
Raised when a lane grid's header has been created to allow additional cusomtization of its presentation. (Inherited from DiagramBase.) |
||
Raised when leaving inplace-edit mode. (Inherited from DiagramBase.) |
||
Raised when a link becomes the ActiveItem. (Inherited from DiagramBase.) |
||
Raised when the user clicks a link. (Inherited from DiagramBase.) |
||
Raised when the user draws a new link. (Inherited from DiagramBase.) |
||
A validation event raised while the user is drawing a new link. (Inherited from DiagramBase.) |
||
Raised when a link is no longer the ActiveItem. (Inherited from DiagramBase.) |
||
Raised when a link is deleted, either programmatically or by the user. (Inherited from DiagramBase.) |
||
Raised when the user tries to delete a link, this event lets you cancel the operation. (Inherited from DiagramBase.) |
||
Raised when a link is deselected, either programmatically or by the user. (Inherited from DiagramBase.) |
||
Raised when the user double-clicks a link. (Inherited from DiagramBase.) |
||
Raised when the user moves any control point of a link. (Inherited from DiagramBase.) |
||
A validation event raised while the user is modifying a link. (Inherited from DiagramBase.) |
||
Raised when a link has been pasted from the clipboard. (Inherited from DiagramBase.) |
||
Raised when a link is routed by the auto-routing algorithm. (Inherited from DiagramBase.) |
||
Raised when a link is selected, either programmatically or by the user. (Inherited from DiagramBase.) |
||
Raised when the user edits the text of a link. (Inherited from DiagramBase.) |
||
Occurs when the magnifier factor changes. (Inherited from DiagramBase.) |
||
Raised when the MeasureUnit property value has changed. (Inherited from DiagramBase.) |
||
Raised when a node becomes the ActiveItem. (Inherited from DiagramBase.) |
||
Raised when the user clicks a node. (Inherited from DiagramBase.) |
||
Occurs when the user draws a new node. (Inherited from DiagramBase.) |
||
A validation event raised while the user is drawing a new node. (Inherited from DiagramBase.) |
||
Raised when a node is no longer the ActiveItem. (Inherited from DiagramBase.) |
||
Raised when a node is deleted, either programmatically or by the user. (Inherited from DiagramBase.) |
||
Raised when the user tries to delete a node, this event lets you cancel the operation. (Inherited from DiagramBase.) |
||
Raised when a node is deselected, either programmatically or by the user. (Inherited from DiagramBase.) |
||
Raised when the user double-clicks a node. (Inherited from DiagramBase.) |
||
Raised when the user moves or resizes a node. (Inherited from DiagramBase.) |
||
A validation event raised while the user is moving or resizing a node. (Inherited from DiagramBase.) |
||
Raised when a node has been pasted from the clipboard. (Inherited from DiagramBase.) |
||
Raised when a node is selected, either programmatically or by the user. (Inherited from DiagramBase.) |
||
Raised when the user edits the text of a node. (Inherited from DiagramBase.) |
||
Raised when the diagram views should be repainted. (Inherited from DiagramBase.) |
||
Raised when an item is added to or removed from the selection. (Inherited from DiagramBase.) |
||
Raised when the user moves or resizes multiple selected items. (Inherited from DiagramBase.) |
||
Raised while the user is moving or resizing multiple selected items, this event lets you cancel the modification. (Inherited from DiagramBase.) |
||
Lets you save the attributes of controls hosted inside ControlNodes. (Inherited from DiagramBase.) |
||
Raised when the Tag of a diagram item must be serialized into an XML document. (Inherited from DiagramBase.) |
||
Raised when a link becomes a self-loop, giving you a chance to override the default look shape. (Inherited from DiagramBase.) |
||
Raised when a user collapses a tree branch by clicking the [-] button of an Expandable node. (Inherited from DiagramBase.) |
||
Raised when a user expands a tree branch by clicking the [+] button of an Expandable node. (Inherited from DiagramBase.) |
||
A validation event that lets you approve or reject connecting a link to an anchor point. (Inherited from DiagramBase.) |
||
Occurs when the zoom factor changes. (Inherited from DiagramBase.) |