Search
Diagram Properties
 


 Public Properties

  Name Description

ActiveItem

Gets or sets the active diagram element.

ActiveItemHandlesStyle

Gets or sets 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. This is a dependency property.

AlignmentGuidePen

Gets or sets the pen used to draw alignment guides. This is a dependency property.

AlignToGrid

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

AllowInplaceEdit

Gets or sets a value indicating whether in-place editing of the text of objects is enabled.

AllowMultipleResize

Specifies whether multiple selected nodes can be resized simultaneously. This is a dependency property.

AllowUnconnectedLinks

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.

AutoAlignDistance

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

AutoAlignNodes

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

AutoResize

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

AutoScroll

Gets or sets a value indicating whether auto scrolling of the document area is enabled. This is a dependency property.

AutoSnapDistance

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

AutoSnapLinks

Specifies whether link end points should automatically snap to the nearest diagram node.

BackBrush

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

Behavior

Gets or sets a value indicating how the control responds to user actions.

Bounds

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

CanRedo

Gets or sets a value indicating whether there is a command in the redo history which can be redone Useful for binding to menu items and buttons IsEnabled property. This is a dependency property.

CanUndo

Gets or sets a value indicating whether there is a command in the undo history which can be undone. Useful for binding to menu items and buttons IsEnabled property. This is a dependency property.

ContainerNodeStyle

Gets or sets the theme-level style for container nodes. This is a dependency property.

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.

CustomBehavior

Gets or sets a custom Behavior object specifying how Diagramming for WinUI responds to mouse input.

DefaultControlType

Gets or sets the type of the controls that will be hosted by default in newly create ControlNode objects.

DefaultShape

Gets or sets the default shape of shape nodes.

DelKeyAction

Gets or sets a value that specifies what action should be performed when the user hits the Del key.

DiagramLinkStyle

Gets or sets the theme-level style for diagram links. This is a dependency property.

DisabledHandlesStyle

Gets or sets the visual style of disabled adjustment handles.

DocumentPlane

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

DynamicLinks

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

Enabled

Disables handling of mouse events. The diagram is not interactive similar to Behavior.DoNothing, but item events are not raised.

EnableLanes

Gets or sets whether lanes are enabled. This is a dependency property.

ExpandButtonAction

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

ExpandButtonBrush

Gets or sets the brush used to fill expand/collapse button of nodes.

ExpandButtonPosition

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

ExpandButtonTemplate

Gets or sets a custom ControlTemplate for the ExpandButton class. This is a dependency property.

ExpandOnIncoming

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

Factory

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

GridColor

Gets or sets the color of the grid points.

GridDashArray

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.

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.

GridPointSize

Gets or sets the size of shapes used to represent grid points. This is a dependency property.

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.

HitTestPriority

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

InplaceEditAcceptOnEnter

Gets or sets a value indicating whether pressing the ENTER key should exit inplace-edit mode and accept changes made to text.

InplaceEditCancelOnEsc

Gets or sets a value indicating whether pressing the ESC key should exit inplace-edit mode and reject changes made to text.

Interaction

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

Items

Represents a strongly typed collection of DiagramItem objects.

LaneGrid

Gets the Grid instance that represents the lane grid.

Layers

Gets a list of the layers in the current diagram.

LicenseKey

Gets or sets the license key of the control.

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.

LinkBrush

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

LinkCrossings

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

LinkHeadShape

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

LinkHeadShapeSize

Gets or sets the default size of arrowheads.

LinkIntermediateShape

Gets or sets 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.

LinkPen

Gets or sets the default value for the Stroke and HeadStroke 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 DiagramLinkCollection containing the links.

LinkSegments

Gets or sets the default number of link segments.

LinkShape

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

MeasureUnit

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

ModificationStart

Gets or sets how users can start modifying diagram items.

NodeEffects

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

Nodes

Gets a DiagramNodeCollection containing the nodes.

NodesExpandable

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

OverrideCursor

Sets the cursor and stops changing it depending on the context.

RecursiveExpand

Gets or sets value indicating how a tree is expanded.

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.

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.

ScrollX

Gets or sets the document's X scroll position.

ScrollY

Gets or sets the document's Y scroll position.

ScrollZoneSize

Gets or sets the size of the auto scroll zone near the edges of the control.

SelectedItemHandlesStyle

Gets or sets the visual style of adjustment handles of selected items.

Selection

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

ShapeBrush

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

ShapeHandlesStyle

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

ShapeNodeStyle

Gets or sets the theme-level style for shape nodes. This is a dependency property.

ShapePen

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

ShowAnchors

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

ShowGrid

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

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.

TableNodeStyle

Gets or sets the theme-level style for table nodes. This is a dependency property.

TableRowCount

Gets or sets the default number of table rows.

TableRowHeight

Gets or sets the default height of tables' rows.

Theme

Gets or sets the theme associated with the diagram.

TreeViewNodeStyle

Gets or sets the theme-level style for treeview nodes. This is a dependency property.

UndoEnabled

Gets or sets a value indicating whether saving action records for later undo is enabled.

Viewport

Returns the visible portion of the diagram area.

ZoomFactor

Gets or sets the zoom factor used to scale up or down the Diagram. This is a dependency property.

 See Also