Provides extension methods for Diagram fluent API.
The following tables list the members exposed by the DiagramExtensions type.
Name | Description | |
---|---|---|
Sets the active diagram element. |
||
Sets the zero-based index of the active layer. |
||
Sets the size of the handles, which appear around selected objects. |
||
Sets the pen used to draw alignment guides. |
||
Sets a value indicating whether the items in the diagram are aligned to grid. |
||
Sets a value indicating whether more than one arrow can link the same origin and destination diagram nodes. |
||
Sets whether multiple selected nodes can be resized simultaneously. |
||
Sets value indicating whether reflexive links are allowed. |
||
Sets a value indicating whether arrow segments can be added and removed interactively. |
||
Sets a value indicating whether links can be connected to nodes to which there aren't anchor points assigned. |
||
Sets a value indicating whether users are allowed to draw links that are not connected to any node. |
||
Sets the maximal horizontal or vertical distance at which a node aligns to the borders of other nodes. |
||
Sets whether nodes should automatically align to the borders of other nodes during user interaction. |
||
Sets the maximum distance between first and last points of a FreeFormNode for which the node's outline is closed automatically. |
||
Sets whether a table row should be highlighted when the user clicks on it. |
||
Sets a value indicating whether the document area should be resized automatically so it fits the diagram contents. |
||
Specifies the maximum distance at which links auto-snap to nodes. |
||
Sets the default value for the AutoSnapToNode property of new links. |
||
Overloaded. |
||
Sets the diagram background image. |
||
Gets or set a value indicating how the background image is positioned, relatively either to the control's window or to the scrollable document area. |
||
The URL of the Image painted as diagram's background. The advantage of this property is that the image is not included in the diagram payload, only the Url is included instead. |
||
Sets a value representing the size of the diagram's scrollable area. |
||
The pen with which the document bounds should be drawn. |
||
Sets the color of link branch indicators. |
||
Sets the size of link branch indicators. |
||
Sets the default type of custom painting done on the cells of tables. |
||
Sets the default cell border style of new tables. |
||
Specifies the default container caption text. |
||
Specifies the default container caption height. |
||
Specifies the Pen used to draw the container frame lines when an item is dragged over a container. |
||
Specifies how much space should be left between contained nodes and the container borders. |
||
Specifies the minimum size of a container. The container won't shrink smaller than that size, even if it does not contain any items. |
||
Specifies whether new containers should be made foldable. |
||
Sets the radius length of decorations displayed at arrow intersection points. |
||
Sets the default shape of shape nodes. |
||
Sets a value indicating whether the diagram has changed since the last save. |
||
Sets the default value for the Dynamic property of new links. |
||
Sets an object used to generate visual effects for shape nodes such as embossment and shadow dispersion. |
||
Sets a value indicating whether emboss effect for shape nodes is enabled. |
||
Sets whether lanes are enabled. |
||
Sets a value indicating whether shadow dispersion effect for nodes is enabled. |
||
Sets the default value for the EnableStyledText property of new nodes. |
||
Specifies what should happen when a user clicks the +/- button that is displayed near expandable nodes. |
||
Sets where expand/collapse buttons are located relatively to their nodes. |
||
Sets a value, indicating in which direction object hierarchies are expanded. |
||
Overloaded. |
||
Sets the component within this diagram which is currently holding the input focus. |
||
Sets the size of folded containers. |
||
Overloaded. |
||
Sets the radius around dragged free-form adjustment handle in which other points of FreeFormNode are modified too. |
||
An array of Shape objects used to replace FreeFormNode instances with ShapeNode ones when Behavior is set to LinkFreeShapes or DrawFreeShapes. |
||
Sets the color of the grid points. |
||
Sets the horizontal offset of the first column of grid points. |
||
Sets the vertical offset of the first row of grid points. |
||
Sets the horizontal distance between adjacent grid points. |
||
Sets the vertical distance between adjacent grid points. |
||
Sets the visual style of the alignment grid. |
||
Sets a value indicating the order in which items are hit-tested. |
||
Gets an InteractionState instance representing the current action being carried out by the user. |
||
Sets the shape displayed at the base of new links. |
||
Sets the default size of the base of new links. |
||
Sets a value indicating what shapes to display as markers at points where overlapping Cascading links diverge. |
||
Overloaded. |
||
Sets the initial orientation of the first segment of new cascading links. |
||
Sets how to render the intersection points where links cross their paths. |
||
Sets the default type of custom painting done on links. |
||
Sets a value indicating whether link ends can be moved by users after the link is created. |
||
Sets the default value for the HandlesStyle property of new links. |
||
Sets the shape displayed as head of new links. |
||
Sets the default size of arrowheads. |
||
Sets a value specifying how far from a link a click is still considered a hit. |
||
Sets default shape to be displayed in the middle of each segment of links. |
||
Sets the default size of the shapes at middles of arrow segments. |
||
Sets a value indicating what shapes to display as markers at points where overlapping Cascading links diverge. |
||
Sets the default value for the Pen and HeadPen properties of links. |
||
Sets the component used to find paths for auto-routed links when diagram nodes are added or their positions change. |
||
Sets the default number of arrow segments. |
||
Sets the default style of arrow objects. |
||
Sets whether links should maintain their forms if the nodes linked with those links are moved around. |
||
Sets the default text of links. |
||
Sets default placement and orientation for links' text. |
||
Sets the unit of measure used for logical coordinates in this diagram. |
||
Sets the color of link merge indicators. |
||
Sets the size of link merge indicators. |
||
Sets the maximum distance between adjacent control points of an arrow at which the respective segments can be merged. |
||
Sets the minimum node size that the user is allowed to set. |
||
Sets a value indicating whether newly created nodes can be expanded. |
||
Sets a value indicating whether to enable the formatting of text inside non-rectangular shape node outlines. |
||
Sets value indicating how a tree is expanded. |
||
Sets a value indicating whether users are allowed to place items outside the scrollable area of the diagram. |
||
Specifies whether the joins between segments of Polyline and Cascading links should be rounded. |
||
Sets the radius of arc joins of rounded links' segments. |
||
Sets the relative size of arcs displayed at the corners of rounded rectangles. |
||
Sets a value specifying whether links should avoid nodes by going the shortest path from their origin to their destination without crossing any other nodes. |
||
Overloaded. |
||
Sets value indicating whether newly created objects are automatically selected. |
||
Sets a value indicating whether selected items should be painted on top of other items. |
||
Sets a SerializationBinder object used to control class loading. |
||
Overloaded. |
||
Sets the horizontal offset of objects' shadows. |
||
Sets the vertical offset of objects' shadows. |
||
Sets the style for rendering shadows. |
||
Overloaded. |
||
Sets the default type of custom painting done for shape nodes. |
||
Sets the default value for the HandlesStyle property of new shape nodes. |
||
Sets the default value for the ShapeOrientation property of shape nodes. |
||
Sets the default value for the Pen property of shape nodes. |
||
Sets the default text of shape nodes. |
||
Sets a value indicating whether and when node anchor points should be displayed. |
||
Sets a value indicating whether manipulation handles are painted when they are disabled. |
||
Sets a value indicating whether the alignment grid is visible. |
||
Sets a value indicating whether to display selection handles of objects under the mouse while another object is being modified. |
||
Sets when arrow end points should be aligned to the nearest anchor points. |
||
Sets a value indicating whether grouped items should be drawn sorted by their Z-order while the whole group is being moved. |
||
Sets the style associated with the diagram. |
||
Overloaded. |
||
Sets the default text for tables' captions. |
||
Sets the default height of table captions. |
||
Sets the default number of table columns. |
||
Sets the default width of tables' columns. |
||
Sets a value indicating whether drawing an arrow between tables should link rows of those tables, or the tables as whole entities. |
||
Sets the default type of custom painting done on tables. |
||
Sets the default value for the HandlesStyle property of new tables. |
||
Sets the default value for the Pen property of tables. |
||
Sets the default number of table rows. |
||
Sets the default height of tables' rows. |
||
Sets the default style of new tables. |
||
Sets the default value for the Scrollable property of new tables. |
||
Sets custom data associated with this diagram. |
||
Sets the default color of text displayed inside diagram items. |
||
Sets the default alignment and formatting style for text displayed inside nodes and table cells. |
||
Sets the theme associated with the diagram. |
||
Sets a short text message displayed when the mouse pointer rests over the diagram. |
||
Sets the threshold value for easier touch interaction through adjustment handles. |
||
Sets a value indicating whether validity checks are performed each time an item is added to the diagram. That involves enumerating the item collections and can slow up the process considerably for large diagrams. Disable this property to skip the checks, however be sure that you don't add an item twice to the diagram and that links are created only between items in the same diagram. |