Search
Diagram Properties
 


 Public Properties

  Name Description

ActiveItem

Gets or sets the active diagram element.

ActiveItemHandlesStyle

Gets the visual style of adjustment handles of the active item.

ActiveLayer

Gets or sets the zero-based index of the active layer.

AdjustmentHandlesSize

Gets or sets the size of the handles, which appear around selected objects.

AlignmentGuidePen

Gets or sets the pen used to draw alignment guides.

AlignToGrid

Gets or sets a value indicating whether the diagram items is aligned to a grid.

AllowLinksRepeat

Gets or sets a value indicating whether more than one link can connect the same origin and destination diagram nodes.

AllowMultipleResize

Gets or sets whether multiple selected nodes can be resized simultaneously.

AllowSelfLoops

Gets or sets a value indicating whether self-loops are allowed.

AllowSplitLinks

Gets or sets a value indicating whether link segments can be added and removed interactively.

AllowUnanchoredLinks

Gets or sets a value indicating whether links can be connected to nodes to which there aren't anchor points assigned.

AllowUnconnectedLinks

Gets or sets a value indicating whether users are allowed to draw links that are not connected to any node.

AutoAlignDistance

Gets or sets the maximal horizontal or vertical distance at which a node aligns to the borders of other nodes.

AutoAlignNodes

Gets or sets whether nodes should automatically align to the borders of other nodes during user interaction.

AutoArrangeAvoidContainers

Gets or sets a value indicating whether auto-arranged link labels should avoid containers.

AutoArrangeAvoidSegments

Gets or sets a value indicating whether auto-arranged link labels should avoid link segments.

AutoCloseDistance

Gets or sets the maximum distance between first and last points of a FreeFormNode for which the node's outline is closed automatically.

AutoHighlightRows

Gets or sets whether a table row should be highlighted when the user clicks on it.

AutoResize

Gets or sets a value indicating whether the document area must be resized automatically so it fits the diagram contents.

AutoSnapDistance

Specifies the maximum distance at which links auto-snap to nodes.

AutoSnapLinks

Gets or sets the default value for the AutoSnapToNode property of new links.

BackBrush

Gets or sets the brush used for painting the diagram background.

BackgroundImage

Gets or sets the image displayed as background of this diagram.

BackgroundImageAlign

Gets or sets a value indicating how the background image is positioned, relatively to the scrollable document area.

BackgroundImageUrl

URL of the image painted as diagram's background.

BarcodeNodeStyle

Gets the theme-level style for barcode nodes.

Bounds

Gets or sets a value representing the size of the diagram's scrollable area.

BoundsPen

The pen with which the document bounds should be drawn.

BranchIndicatorColor

Gets or sets the color of link branch indicators.

BranchIndicatorSize

Gets or sets the size of link branch indicators.

CellCustomDraw

Gets or sets the default type of custom painting done on the cells of tables.

CellFrameStyle

Gets or sets the default cell border style of new tables.

CompositeNodeStyle

Gets the theme-level style for composite nodes.

ContainerCaption

Gets or sets the default value for the Caption property of containers.

ContainerCaptionHeight

Gets or sets the default value for the CaptionHeight property of containers.

ContainerHighlightPen

Gets or sets the default value for the HighlightPen property of containers.

ContainerMargin

Gets or sets the default value for the Margin property of containers.

ContainerMinimumSize

Gets or sets the default value for the MinimumSize property of containers.

ContainerNodeStyle

Gets the theme-level style for container nodes.

ContainersFoldable

Gets or sets the default value for the Foldable property of containers.

CrossingRadius

Gets or sets the radius length of decorations displayed at link intersection points.

DefaultShape

Gets or sets the default shape of shape nodes.

DiagramLinkStyle

Gets the theme-level style for diagram links.

DiagramStyle

Gets the theme-level style for the diagram.

Dirty

Gets or sets a value indicating whether the diagram has changed since the last save.

DisabledHandlesStyle

Gets the visual style of disabled adjustment handles.

DynamicLinks

Gets or sets the default value for the Dynamic property of new links.

EffectiveBackBrush

Gets the currently effective background brush of the diagram.

EffectsProvider

Gets or sets an object used to generate visual effects for shape nodes such as embossment and shadow dispersion.

EnableEmbossEffects

Gets or sets a value indicating whether emboss effect for shape nodes is enabled.

EnableLanes

Gets or sets whether lanes are enabled.

EnableShadowEffects

Gets or sets a value indicating whether the shadow dispersion effect for nodes is enabled.

EnableSpatialIndex

Gets or sets whether to index item positions for faster hit-testing and viewport clipping queries.

EnableStyledText

Gets or sets the default value for the EnableStyledText property of new nodes.

ExpandButtonAction

Gets or sets a value indicating what should happen when a user clicks the [±] button that is displayed near expandable nodes.

ExpandButtonPosition

Gets or sets where expand/collapse buttons are located relatively to their nodes.

ExpandOnIncoming

Gets or sets a value, indicating in which direction object hierarchies are expanded.

ExteriorBrush

Gets or sets the brush used for painting the area outside Bounds.

Factory

Gets a Factory instance that lets you add programmatically new items to the diagram.

FocusedComponent

Gets or sets the component within this diagram which currently has the input focus.

FoldedContainerSize

Gets or sets the size of folded containers.

Font

Gets or sets the default font for new diagram items.

FreeFormAttractDistance

Gets or sets the radius around dragged free-form adjustment handle in which other points of FreeFormNode are modified too.

FreeFormTargets

An array of Shape objects used to replace FreeFormNode instances with ShapeNode ones when Behavior is set to LinkFreeShapes or DrawFreeShapes.

GridColor

Gets or sets the color of the grid points.

GridOffsetX

Gets or sets the horizontal offset of the first point of the alignment grid.

GridOffsetY

Gets or sets the vertical offset of the first point of the alignment grid.

GridSizeX

Gets or sets the horizontal distance between adjacent grid points.

GridSizeY

Gets or sets the vertical distance between adjacent grid points.

GridStyle

Gets or sets the visual style of the alignment grid.

Groups

Gets a collection of all groups in the diagram.

HitTestPriority

Gets or sets a value indicating the order in which items are hit-tested.

Interaction

Gets an InteractionState instance representing the current action being carried out by the user.

IsProEdition

Gets a value indicating whether the currently loaded NetDiagram is a professional version of the control.

Items

Gets a collection of all items in this diagram.

LaneGrid

Gets the Grid instance that represents the lane grid.

Layers

Gets a list of the layers in the current diagram.

LinkBaseShape

Gets or sets the shape displayed at the base of new links.

LinkBaseShapeSize

Gets or sets the default size of the base of new links.

LinkBranchIndicator

Gets or sets a value indicating what shapes to display as markers at points where overlapping Cascading links diverge.

LinkBrush

Gets or sets the default value for the Brush property of links.

LinkCascadeOrientation

Gets or sets the initial orientation of the first segment of new cascading links.

LinkCrossings

Gets or sets how to render the intersection points where links cross their paths.

LinkCustomDraw

Gets or sets the default type of custom painting done on links.

LinkEndsMovable

Gets or sets a value indicating whether link ends can be moved by users after the link is created.

LinkHandlesStyle

Gets or sets the default value for the HandlesStyle property of new links.

LinkHeadShape

Gets or sets the shape displayed as head of new links.

LinkHeadShapeSize

Gets or sets the default size of arrowheads.

LinkHitDistance

Gets or sets a value specifying how far from a link a click is still considered a hit.

LinkIntermediateShape

Gets or sets the default shape to be displayed in the middle of each segment of links.

LinkIntermediateShapeSize

Gets or sets the default size of the shapes at middles of link segments.

LinkMergeIndicator

Gets or sets a value indicating what shapes to display as markers at points where overlapping Cascading links merge.

LinkPen

Gets or sets the default value for the Pen and HeadPen properties of links.

LinkRouter

Gets or sets the component used to find paths for auto-routed links when diagram nodes are added or their positions change.

Links

Gets a collection of all DiagramLink objects in the diagram.

LinkSegments

Gets or sets the default number of link segments.

LinkShape

Gets or sets the default value of the Shape property of new links.

LinksRetainForm

Gets or sets whether links should maintain their forms if the nodes linked with those links are moved around.

LinkText

Gets or sets the default text of links.

LinkTextStyle

Gets or sets default placement and orientation for links' text.

MeasureTextRenderingHint

Gets or sets the TextRenderingHint to use when measuring texts. This should be effectively set to the value of DiagramView.TextRenderingHint.

MeasureUnit

Gets or sets the unit of measure used for logical coordinates in this diagram.

MergeIndicatorColor

Gets or sets the color of link merge indicators.

MergeIndicatorSize

Gets or sets the size of link merge indicators.

MergeThreshold

Gets or sets the maximum distance between adjacent control points of a link at which the respective segments can be merged.

MinimumNodeSize

Gets or sets the minimum node size that the user is allowed to set.

NodeEffects

Gets a collection with all effects applied to the nodes of this diagram.

Nodes

Gets a collection of all DiagramNode objects in the diagram.

NodesExpandable

Gets or sets a value indicating whether newly created nodes can be expanded.

NowLoading

Gets a value indicating whether the diagram data is now being loaded from a file.

PolygonalTextLayout

Gets or sets a value indicating whether to enable the formatting of text inside non-rectangular shape node outlines.

RecursiveExpand

Gets or sets value indicating how a tree is expanded.

RestrictItemsToBounds

Gets or sets a value indicating whether users are allowed to place items outside the scrollable area of the diagram.

RoundedLinks

Gets or sets a value indicating whether the joins between segments of Polyline and Cascading links should be rounded.

RoundedLinksRadius

Gets or sets the radius of arc joins of rounded links' segments.

RoundRectFactor

Gets or sets the relative size of arcs displayed at the corners of rounded rectangles.

RouteLinks

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.

RoutingOptions

Gets an object, which allows customizing various parameters of the link routing algorithm.

RowHighlightBrush

Gets or sets the Brush used to fill highlighted table rows.

ScriptHelper

Gets a ScriptHelper object which can be used in html scripts to instantiate various objects and to call static methods.

SelectAfterCreate

Gets or sets a value indicating whether newly created objects are automatically selected.

SelectedItemHandlesStyle

Gets the visual style of adjustment handles of selected items.

Selection

Gets a Selection instance that represents the selection of items in this diagram.

SelectionOnTop

Gets or sets a value indicating whether selected items should be painted on top of other items.

SerializationBinder

Gets or sets a SerializationBinder object used to control class loading.

ShadowBrush

Gets or sets the default brush used to paint the shadows cast by diagram items.

ShadowOffsetX

Gets or sets the horizontal offset of item shadows.

ShadowOffsetY

Gets or sets the vertical offset of item shadows.

ShadowsStyle

Gets or sets the style for rendering shadows.

ShapeBrush

Gets or sets the default value for the Brush property of shape nodes.

ShapeCustomDraw

Gets or sets the default type of custom painting done for shape nodes.

ShapeHandlesStyle

Gets or sets the default value for the HandlesStyle property of new shape nodes.

ShapeNodeStyle

Gets the theme-level style for shape nodes.

ShapeOrientation

Gets or sets the default value for the ShapeOrientation property of shape nodes.

ShapePen

Gets or sets the default value for the Pen property of shape nodes.

ShapeText

Gets or sets the default text of shape nodes.

ShowAnchors

Gets or sets a value indicating whether and when node anchor points should be displayed.

ShowDisabledHandles

Gets or sets a value indicating whether manipulation handles are painted when they are disabled.

ShowGrid

Gets or sets a value indicating whether the alignment grid is visible.

ShowHandlesOnDrag

Gets or sets a value indicating whether to display selection handles of objects under the mouse while another object is being modified.

SnapToAnchor

Gets or sets when link end points should be aligned to the nearest anchor points.

SortGroupsByZ

Gets or sets a value indicating whether grouped items should be drawn sorted by their z-order while the whole group is being moved.

Style

Gets or sets the style associated with the diagram.

SvgNodeStyle

Gets the theme-level style for SVG nodes.

TableBrush

Gets or sets the default value for the Brush property of tables.

TableCaption

Gets or sets the default text for tables' captions.

TableCaptionHeight

Gets or sets the default height of table captions.

TableColumnCount

Gets or sets the default number of table columns.

TableColumnWidth

Gets or sets the default width of tables' columns.

TableConnectionStyle

Gets or sets a value indicating whether drawing a link between tables should connect the rows of those tables, or the tables as whole entities.

TableCustomDraw

Gets or sets the default type of custom painting done on tables.

TableHandlesStyle

Gets or sets the default value for the HandlesStyle property of new tables.

TableNodeStyle

Gets the theme-level style for table nodes.

TablePen

Gets or sets the default value for the Pen property of tables.

TableRowCount

Gets or sets the default number of table rows.

TableRowHeight

Gets or sets the default height of tables' rows.

TableShape

Gets or sets the default value of the Shape property of new tables.

TablesScrollable

Gets or sets the default value for the Scrollable property of new tables.

Tag

Gets or sets custom data associated with this diagram.

TextColor

Gets or sets the default color of text displayed inside diagram items.

TextFormat

Gets or sets the default alignment and formatting style for text displayed inside nodes and table cells.

Theme

Gets or sets the theme associated with the diagram.

ToolTip

Gets or sets a short text message displayed when the mouse pointer rests over the diagram.

TouchThreshold

Gets or sets the threshold value for easier touch interaction through adjustment handles.

TreeViewNodeStyle

Gets the theme-level style for tree view nodes.

UndoManager

Gets a reference to the diagram's UndoManager instance.

ValidityChecks

Gets or sets a value indicating whether validity checks are performed each time an item is added to the diagram.

VisioNodeStyle

Gets the theme-level style for Visio nodes.

 See Also