Click or drag to resize
RadDiagram Class
Represents the diagram control.
Inheritance Hierarchy

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Diagrams (in Telerik.Windows.Controls.Diagrams.dll) Version: 2018.1.116.40 (2018.1.116.40)
Syntax
[ContentPropertyAttribute("Items")]
public class RadDiagram : Control, ISupportContainerGenerator<RadDiagramItem>, 
	IThemable, IGraphInternal, IGraph, ISerializable, ISupportManipulation

The RadDiagram type exposes the following members.

Constructors
  NameDescription
Public methodRadDiagram
Initializes a new instance of the RadDiagram class.
Top
Methods
  NameDescription
Public methodAddConnection(IConnection, Boolean)
Adds a new connection to the diagram.
Public methodAddConnection(Point, Point, Boolean)
Adds a floating connection.
Public methodAddConnection(IShape, IShape, Boolean)
Adds a new connection to the diagram connecting the given source and target shapes.
Public methodAddConnection(IShape, IShape, String, Boolean)
Adds a new connection to the diagram connecting the given source and target shapes.
Public methodAddConnection(IShape, IShape, String, String, Boolean)
Adds a new connection to the diagram connecting the given source and target shapes.
Public methodAddGlidingConnection
Adds a new gliding connection to the diagram connecting the given source and target shapes.
Public methodAddImageShape
Adds a shape with image content.
Public methodAddShape(IShape, NullablePoint, Boolean)
Adds the given shape to the diagram.
Public methodAddShape(Object, Geometry, NullablePoint, Boolean)
Adds a new shape to the diagram.
Public methodAddShape(Object, ArrowShapeType, NullablePoint, Boolean)
Adds a new shape to the diagram.
Public methodAddShape(Object, CommonShapeType, NullablePoint, Boolean)
Adds a new shape to the diagram.
Public methodAddShape(Object, FlowChartShapeType, NullablePoint, Boolean)
Adds a new shape to the diagram.
Public methodAlign
Aligns the given shapes.
Public methodAutoFit
Zoom and pans the diagram in such a way that all items will fit into the currently visible area of the canvas.
Public methodAutoFit(Thickness, Boolean)
Zoom and pans the diagram in such a way that all items will fit into the currently visible area of the canvas. If there are no items or the visible area is with empty size or the margin is greater than the visible area no action will be performed.
Public methodAutoFitAsync
Zoom and pans the diagram asynchronously in such a way that all items will fit into the currently visible area of the canvas. If there are no items or the visible area is with empty size or the margin is greater than the visible area no action will be performed.
Public methodBeginBatchTransformation
Begins a batch transformation and signals the undo-redo stack that a batch of transformation should be considered as one, i.e. a composite change.
Public methodBringForward
Brings the items forward.
Public methodBringIntoView(Rect, Boolean)
Makes the requested rectangle the new view port. After the rectangle is centered in the view port a zoom operation stretches the rectangle to occupy the whole view port. The zoom is coerced according to Zoom property restriction.
Public methodBringIntoView(Object, Double, Boolean)
Brings the provided item to the center of the view port with the requested zoom.
Public methodBringIntoView(Point, Double, Boolean)
Brings the provided point into the top left corner of the view port with the requested zoom.
Public methodBringToFront
Brings the items to front.
Protected methodCleanContainerForItemOverride
Cleans the container for item override.
Public methodClear
Clears the diagram and resets the document.
Public methodCommitBatchTransformation
Commits the batch transformation and ends the composite undo redo change.
Public methodCopy
Copies the currently selected items of the diagram.
Public methodCut
Cuts the currently selected items of the diagram.
Public methodDelete
Deletes the currently selected items of the diagram.
Public methodDeselectAll
Deselects all shapes in the diagram.
Public methodDeserialize
Deserializes the specified info.
Public methodExport
Exports the Diagram into png or bmp.
Public methodExportToImage
Exports an image of the given element to stream using the specified bitmap encoder.
Public methodFitTo Obsolete.
Makes the requested rectangle the new view port. After the rectangle is placed in the top left corner of the view port a zoom operation stretches the rectangle to occupy the whole view port. The zoom is coerced according to Zoom property restriction.
Protected methodGetConnectionContainerForItemOverride
Gets the connection container for item override.
Protected methodGetShapeContainerForItemOverride(Object)
Gets the shape container for item override.
Protected methodGetShapeContainerForItemOverride(IContainerItem)
Gets the 'container shape' container for item override.
Protected methodGetTextShapeContainerForItemOverride
Gets the text shape container for item override.
Public methodGroup(String, IGroupable)
Groups the specified items.
Public methodGroup(String, Boolean, IGroupable)
Groups the specified items.
Public methodIsInViewport
Checks if the diagram item is in the viewport.
Protected methodIsItemItsOwnConnectionContainerOverride
Determines whether [is item its own connection container override] [the specified item].
Protected methodIsItemItsOwnShapeContainerOverride
Determines whether the item is a container on its own.
Public methodLayout
Organizes the diagram using the specified layout.
Public methodLayoutAsync
Organizes the diagram using the specified layout asynchronously.
Public methodLoad
Loads the specified serialization string.
Public methodOnApplyTemplate
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate.
(Overrides FrameworkElementOnApplyTemplate.)
Protected methodOnCanExecuteDeleteCommandOverride
Called on can execute delete command.
Protected methodOnCreateAutomationPeer
Creates a RadDiagramAutomationPeer peer associated with this object.
(Overrides UIElementOnCreateAutomationPeer.)
Protected methodOnDeleteCommandExecutedOverride
Called when delete command is executed.
Protected methodOnInitialized
Raises the Initialized event. This method is invoked whenever IsInitialized is set to true internally.
(Overrides FrameworkElementOnInitialized(EventArgs).)
Protected methodOnIsConnectorsManipulationEnabledChanged
Called on is connectors manipulation enabled property changed.
Protected methodOnKeyDownHandled
Protected methodOnKeyUpHandled
Protected methodOnMouseLeftButtonDown
Called before the MouseLeftButtonDown event occurs.
(Overrides UIElementOnMouseLeftButtonDown(MouseButtonEventArgs).)
Protected methodOnMouseLeftButtonUp
Called before the MouseLeftButtonUp event occurs.
(Overrides UIElementOnMouseLeftButtonUp(MouseButtonEventArgs).)
Protected methodOnMouseMove
Called before the MouseMove event occurs.
(Overrides UIElementOnMouseMove(MouseEventArgs).)
Protected methodOnMouseWheel
Called when the mouse wheel is used to zoom the diagram.
(Overrides UIElementOnMouseWheel(MouseWheelEventArgs).)
Protected methodOnPositionChanged
Called when the Position property changes.
Protected methodOnRouteConnectionsChanged
Called on route connections property change.
Protected methodOnZoomChanged
Called when the Zoomproperty changes.
Public methodPaste
Pastes the content of the clipboard onto the diagram.
Protected methodPrepareConnectionContainerForItemOverride
Prepares the container for item override.
Protected methodPrepareShapeContainerForItemOverride
Prepares the container for item override.
Public methodPrint
Print the diagram.
Protected methodPublishDiagramEvent
Raises generic event.
Public methodRedo
Performs redo on the last undone action.
Public methodRemoveConnection
Removes the connection.
Public methodRemoveShape
Removes the shape.
Public methodResetTheme
Resets the theme.
Public methodResetViewport
Brings the (0, 0) point into the top left corner of the view port with zoom equal to 1.
Public methodSave
Saves the diagram.
Public methodScroll
Scrolls with specified horizontal and vertical offset.
Public methodSelectAll
Selects all shapes in the diagram.
Public methodSendBackward
Sends the items backward.
Public methodSendToBack
Sends the items to back.
Public methodSerialize
Serializes this instance.
Public methodSnap
Snaps the specified shapes.
Public methodUndo
Performs undo on the last action.
Public methodUngroup(IGroup)
Ungroups the specified items.
Public methodUngroup(Boolean, IGroup)
Ungroups the specified items.
Protected methodUpdateRectSelection
Updates the rectangle selection.
Public methodZoomIn
Zooms in the diagram. Simulates zooming with the mouse. Performs incremental zoom taking into account previous zoom operations.
Public methodZoomOut
Zooms out the diagram. Simulates zooming with the mouse. Performs incremental zoom taking into account previous zoom operations.
Top
Extension Methods
  NameDescription
Public Extension MethodCalculateEnclosingBounds
Calculates the enclosing bounds.
(Defined by IGraphExtensions.)
Public Extension MethodCalculatePages
Slices the diagram into collection of pages.
(Defined by DiagramExtensions.)
Public Extension MethodChildrenOfTypeT
Gets all child elements recursively from the visual tree by given type.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodClearIfNoBindingAndSet
Clears if set.
(Defined by CommonExtensions.)
Public Extension MethodClearIfSet
Clears the property if a value has been set.
(Defined by CommonExtensions.)
Public Extension MethodCreateDiagramImage
Creates the diagram image.
(Defined by DiagramExtensions.)
Public Extension MethodDeserializePrimitives
Deserializes some primitive properties of a control.
(Defined by SerializationExtensions.)
Public Extension MethodDiagramItems
Gets all graph items - shapes and connections.
(Defined by IGraphExtensions.)
Public Extension MethodEnableLayoutRounding (Defined by LayoutRoundingHelperExtensions.)
Public Extension MethodFindChildByTypeT
Finds child element of the specified type. Uses breadth-first search.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodGetAssociatedInlineUIContainer (Defined by ExtensionMethods.)
Public Extension MethodGetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodGetBaseControlItemStatus
Gets a string that communicates the visual status of a Control.
(Defined by AutomationExtensions.)
Public Extension MethodGetBoundsRelativeTo
Gets the bounds relative to the current framework element.
(Defined by ExtensionMethods.)
Public Extension MethodGetConnectionsForShape
Gets the connections for shape.
(Defined by IGraphExtensions.)
Public Extension MethodGetConnectionsForShapeRecursively
Gets the connections for shape.
(Defined by IGraphExtensions.)
Public Extension MethodGetConnectionsInSubGraph
Gets the connections in sub graph - collection of shapes.
(Defined by IGraphExtensions.)
Public Extension MethodGetGlobalMousePosition
(Defined by WindowHost.)
Public Extension MethodGetIncomingConnectionsForShape
Gets the incoming connections for shape.
(Defined by IGraphExtensions.)
Public Extension MethodGetOutgoingConnectionsForShape
Gets the outgoing connections for shape.
(Defined by IGraphExtensions.)
Public Extension MethodGetParents
Enumerates through element's parents in the visual tree.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodGetTransformedPoint
Applies the panning and zooming for the point and returns the transformed point.
(Defined by DiagramExtensions.)
Public Extension MethodGetVisualParentT
Searches up in the visual tree for parent element of the specified type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is ancestor of the current UI element.
(Defined by ExtensionMethods.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is an ancestor of the descendant.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsKeyboardFocusWithin
Determines whether keyboard focus is within the current UI element.
(Defined by KeyboardHelper.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by DependencyObjectExtensions.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by CommonExtensions.)
Public Extension MethodParentOfTypeT
Gets the parent element from the visual tree by given type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodSerializePrimitives
Serializes some primitive properties of a control.
(Defined by SerializationExtensions.)
Public Extension MethodSetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodSetFromSerializationInfo
Sets from serialization info.
(Defined by SerializationExtensions.)
Public Extension MethodSetIfDifferent
Sets the value of the dependencyProperty property if it's hasn't that value currently.
(Defined by CommonExtensions.)
Public Extension MethodSetLayout
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Point)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Double, Double)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSlideInOverloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideIn(TimeSpan)Overloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOutOverloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOut(TimeSpan)Overloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan)Overloaded.
Translates the target element as requested by the parameters.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan, Action)Overloaded.
Translates the target element as requested by the parameters and executes the action request.
(Defined by CalendarAnimation.)
Top
Fields
  NameDescription
Public fieldStatic memberActiveToolProperty
Identifies the ActiveTool dependency property.
Public fieldStatic memberAdditionalContentActivatedEvent
Identifies the AdditionalContentOpened routed event.
Public fieldStatic memberAllowCopyProperty
Identifies the AllowCopy dependency property.
Public fieldStatic memberAllowCutProperty
Identifies the AllowCut dependency property.
Public fieldStatic memberAllowDeleteProperty
Identifies the AllowDelete dependency property.
Public fieldStatic memberAllowPasteProperty
Identifies the AllowPaste dependency property.
Public fieldStatic memberAutoLayoutProperty
Identifies the AutoLayout dependency property.
Public fieldStatic memberCommandExecutedEvent
Identifies the CommandExecuted routed event.
Public fieldStatic memberConnectionBridgeProperty
Identifies the Position dependency property.
Public fieldStatic memberConnectionDeserializedEvent
Identifies the ConnectionDeserialized routed event.
Public fieldStatic memberConnectionEditTemplateProperty
Identifies the ConnectionEditTemplate dependency property.
Public fieldStatic memberConnectionEditTemplateSelectorProperty
Identifies the ConnectionEditTemplateSelector dependency property.
Public fieldStatic memberConnectionManipulationCompletedEvent
Identifies the ConnectionManipulationCompleted routed event.
Public fieldStatic memberConnectionManipulationStartedEvent
Identifies the ConnectionManipulationStartedEvent routed event.
Public fieldStatic memberConnectionRoundedCornersProperty
Identifies the RoundedCorners dependency property.
Public fieldStatic memberConnectionSerializedEvent
Identifies the ConnectionSerialized routed event.
Public fieldStatic memberConnectionStyleProperty
Identifies the ConnectionStyle dependency property.
Public fieldStatic memberConnectionStyleSelectorProperty
Identifies the ConnectionStyleSelector dependency property.
Public fieldStatic memberConnectionTemplateProperty
Identifies the ConnectionTemplate dependency property.
Public fieldStatic memberConnectionTemplateSelectorProperty
Identifies the ConnectionTemplateSelector dependency property.
Public fieldStatic memberConnectorActivationChangedEvent
Identifies the ConnectorActivationChanged routed event.
Public fieldStatic memberConnectorStyleProperty
Identifies the ConnectorStyle dependency property.
Public fieldStatic memberContainerShapeStyleProperty
Identifies the ContainerShapeStyle dependency property.
Public fieldStatic memberDeserializedEvent
Identifies the Deserialized routed event.
Public fieldStatic memberDiagramLayoutCompletedEvent
Identifies the DiagramLayoutComplete routed event.
Public fieldStatic memberDisplayMemberPathProperty
Identifies the DisplayMemberPath dependency property.
Public fieldStatic memberDragEvent
Identifies the DragEvent routed event.
Public fieldStatic memberGraphSourceProperty
Identifies the GraphSource dependency property.
Public fieldStatic memberGroupsChangedEvent
Identifies the ItemsChanged routed event.
Public fieldStatic memberGroupStyleProperty
Identifies the SelectedGroupBrush dependency property.
Public fieldStatic memberIsAdditionalContentVisibleProperty
Identifies the IsAdditionalContentVisible dependency property.
Public fieldStatic memberIsBackgroundSurfaceVisibleProperty
Identifies the IsBackgroundSurfaceVisible dependency property.
Public fieldStatic memberIsConnectorsManipulationEnabledProperty
Identifies the IsConnectorsManipulationEnabled dependency property.
Public fieldStatic memberIsDraggingEnabledProperty
Identifies the IsDraggingEnabled dependency property.
Public fieldStatic memberIsEditableProperty
Identifies the IsEditable dependency property.
Public fieldStatic memberIsInformationAdornerVisibleProperty
Identifies the IsInformationAdornerVisible dependency property.
Public fieldStatic memberIsManipulationAdornerVisibleProperty
Identifies the IsManipulationAdornerVisible dependency property.
Public fieldStatic memberIsPanEnabledProperty
Identifies the IsPanEnabled dependency property.
Public fieldStatic memberIsResizingEnabledProperty
Identifies the IsResizingEnabled dependency property.
Public fieldStatic memberIsRotationEnabledProperty
Identifies the IsRotationEnabled dependency property.
Public fieldStatic memberIsSnapToGridEnabledProperty
Identifies the IsSnapEnabled dependency property.
Public fieldStatic memberIsSnapToItemsEnabledProperty
Identifies the IsSnapToItemsEnabled dependency property.
Public fieldStatic memberIsZoomEnabledProperty
Identifies the IsZoomEnabled dependency property.
Public fieldStatic memberItemsChangedEvent
Identifies the ItemsChanged routed event.
Public fieldStatic memberItemsChangingEvent
Identifies the ItemsChanging routed event.
Public fieldStatic memberItemsProperty
Identifies the Items dependency property.
Public fieldStatic memberMetadataDeserializedEvent
Identifies the MetadataDeserialized routed event.
Public fieldStatic memberMetadataSerializedEvent
Identifies the MetadataSerialized routed event.
Public fieldStatic memberPanEvent
Identifies the PreviewPan routed event.
Public fieldStatic memberPositionChangedEvent
Identifies the PositionChanged routed event.
Public fieldStatic memberPositionProperty
Identifies the Position dependency property.
Public fieldStatic memberPreviewAdditionalContentActivatedEvent
Identifies the PreviewAdditionalContentOpened routed event.
Public fieldStatic memberPreviewDragEvent
Identifies the PreviewDrag routed event.
Public fieldStatic memberPreviewPanEvent
Identifies the PreviewPan routed event.
Public fieldStatic memberPreviewResizeEvent
Identifies the PreviewResize routed event.
Public fieldStatic memberPreviewRotateEvent
Identifies the PreviewRotate routed event.
Public fieldStatic memberPreviewSelectionChangedEvent
Identifies the PreviewSelectionChanged routed event.
Public fieldStatic memberPreviewZoomEvent
Identifies the PreviewZoom routed event.
Public fieldStatic memberRectSelectionModeProperty
Identifies the RectSelectionMode dependency property.
Public fieldStatic memberResizeEvent
Identifies the Resize routed event.
Public fieldStatic memberRotateEvent
Identifies the Rotate routed event.
Public fieldStatic memberRouteConnectionsProperty
Identifies the RouteConnections dependency property.
Public fieldStatic memberSelectedEvent
Identifies the Selected routed event.
Public fieldStatic memberSelectedIndexProperty
Identifies the SelectedIndex dependency property.
Public fieldStatic memberSelectedItemProperty
Identifies the SelectedItem dependency property.
Public fieldStatic memberSelectionChangedEvent
Identifies the SelectionChanged routed event.
Public fieldStatic memberSelectionModeProperty
Identifies the SelectionMode dependency property.
Public fieldStatic memberSelectionRectangleStyleProperty
Identifies the SelectionRectangleStyle dependency property.
Public fieldStatic memberSerializedEvent
Identifies the Serialized routed event.
Public fieldStatic memberShapeClickedEvent
Identifies the ShapeClicked routed event.
Public fieldStatic memberShapeDeserializedEvent
Identifies the ShapeDeserialized routed event.
Public fieldStatic memberShapeDoubleClickedEvent
Identifies the ShapeDoubleClicked routed event.
Public fieldStatic memberShapeEditTemplateProperty
Identifies the ShapeEditTemplate dependency property.
Public fieldStatic memberShapeEditTemplateSelectorProperty
Identifies the ShapeEditTemplateSelector dependency property.
Public fieldStatic memberShapeSerializedEvent
Identifies the ShapeSerialized routed event.
Public fieldStatic memberShapeStyleProperty
Identifies the ShapeStyle dependency property.
Public fieldStatic memberShapeStyleSelectorProperty
Identifies the ShapeStyleSelector dependency property.
Public fieldStatic memberShapeTemplateProperty
Identifies the ShapeTemplate dependency property.
Public fieldStatic memberShapeTemplateSelectorProperty
Identifies the ShapeTemplateSelector dependency property.
Public fieldStatic memberSnapXProperty
Identifies the SnapX dependency property.
Public fieldStatic memberSnapYProperty
Identifies the SnapY dependency property.
Public fieldStatic memberSupportTouchGesturesProperty
Identifies the SupportTouchGestures dependency property.
Public fieldStatic memberUnselectedEvent
Identifies the Unselected routed event.
Public fieldStatic memberViewportProperty
Identifies the Viewport dependency property.
Public fieldStatic memberZoomChangedEvent
Identifies the ZoomChanged routed event.
Public fieldStatic memberZoomProperty
Identifies the Zoom dependency property.
Top
Properties
  NameDescription
Public propertyActiveTool
Gets or sets the tool which is active when interacting with the diagram elements.
Public propertyAllowCopy
Gets or sets a value indicating whether copying is allowed.
Public propertyAllowCut
Gets or sets a value indicating whether cutting is allowed.
Public propertyAllowDelete
Gets or sets a value indicating whether deleting is allowed.
Public propertyAllowPaste
Gets or sets a value indicating whether pasting is allowed.
Public propertyAutoLayout
Gets or sets the auto layout.
Public propertyConnectionBridge
Gets or sets the connection bridge type.
Public propertyConnectionEditTemplate
Gets or sets the connection edit template.
Public propertyConnectionEditTemplateSelector
Gets or sets the connection edit template selector.
Public propertyConnectionRoundedCorners
Gets or sets whether the corners of the (polyline) connection are rounded.
Public propertyConnections
Gets the connections.
Public propertyConnectionStyle
Gets or sets the connection style.
Public propertyConnectionStyleSelector
Gets or sets the connection style selector.
Public propertyConnectionTemplate
Gets or sets the connection template.
Public propertyConnectionTemplateSelector
Gets or sets the connection template selector.
Public propertyConnectorStyle
Gets or sets the connector style.
Public propertyContainerGenerator
Gets the container generator.
Public propertyContainerShapeStyle
Gets or sets the container shape style.
Public propertyDisplayMemberPath
Gets or sets the display member path.
Public propertyGraphSource
Gets or sets the graph source.
Public propertyGroups
Gets the group collection.
Public propertyGroupStyle
Gets or sets the Style for the groups adorner. It is shown when a group is selected.
Public propertyIgnoreLinkDirection
Gets or sets a value indicating whether the underlying graph structure is a directional graph.
Public propertyIsAdditionalContentVisible
Gets a value indicating whether the additional content visible.
Public propertyIsBackgroundSurfaceVisible
Gets or sets whether the background grid is visible.
Public propertyIsConnectorsManipulationEnabled
Gets or sets a value indicating whether manipulation on the connectors is enabled.
Public propertyIsDraggingEnabled
Gets or sets a value indicating whether dragging is enabled.
Public propertyIsEditable
Gets or sets a value indicating whether editing is enabled.
Public propertyIsInformationAdornerVisible
Gets or sets whether the information adorner is visible.
Public propertyIsManipulationAdornerVisible
Gets or sets a value indicating whether the manipulation adorner is visible.
Public propertyIsMouseCaptured
Gets or sets a value indicating whether the mouse is captured.
Public propertyIsPanEnabled
Gets or sets a value indicating whether panning is enabled.
Public propertyIsResizingEnabled
Gets or sets a value indicating whether resizing is enabled.
Public propertyIsRotationEnabled
Gets or sets a value indicating whether rotation is enabled.
Public propertyIsSnapToGridEnabled
Gets or sets a value indicating whether grid snapping is enabled.
Public propertyIsSnapToItemsEnabled
Gets or sets a value indicating whether snapping of selected item(s) to the other items in the view port is enabled or not.
Public propertyIsZoomEnabled
Gets or sets a value indicating whether zooming is enabled.
Public propertyItems
Gets or sets the diagramming items.
Public propertyMetadata
Gets the diagram metadata.
Public propertyPosition
Gets or sets the position.
Public propertyRectSelectionMode
Gets or sets the rectangle selection mode.
Public propertyRouteConnections
Gets whether the Spline and Polyline connections will be automatically routed.
Public propertyRoutingService
Public propertySelectedIndex
Gets or sets the index of the first item in the current selection or returns negative one (-1) if the selection is empty.
Public propertySelectedItem
Gets or sets the first item in the current selection or returns null if the selection is empty. This is a dependency property.
Public propertySelectedItems
Gets the selected items.
Public propertySelectionBounds
Gets the starting selection bounds.
Public propertySelectionMode
Gets or sets the selection mode.
Public propertySelectionRectangleStyle
Gets or sets the style of the selection rectangle.
Public propertyServiceLocator
Gets the service locator.
Public propertyShapeEditTemplate
Gets or sets the shape edit template.
Public propertyShapeEditTemplateSelector
Gets or sets the shape edit template selector.
Public propertyShapes
Gets the shapes.
Public propertyShapeStyle
Gets or sets the shape style.
Public propertyShapeStyleSelector
Gets or sets the shape style selector.
Public propertyShapeTemplate
Gets or sets the shape template.
Public propertyShapeTemplateSelector
Gets or sets the shape template selector.
Public propertySnapX
Gets or sets the horizontal snapping distance.
Public propertySnapY
Gets or sets the vertical snapping distance.
Public propertySupportTouchGestures
Gets or sets a value indicating whether the touch gestures are enabled by default.
Public propertyUndoRedoService
Gets the undo redo service.
Public propertyViewport
Gets the bounds of the viewport.
Public propertyZoom
Gets or sets the zoom. A zoom value of 1 means 100% and less then 1 means a zoom out. Zoom value will be coerced to be greater than zero, not infinity and not Nan. In addition, Zoom value will be coerced to be greater or equal than MinimumZoom and smaller or equal than MaximumZoom.
Top
Events
  NameDescription
Public eventAdditionalContentActivated
Occurs when AdditionContent is activated.
Public eventCommandExecuted
Occurs when a command is executed.
Public eventConnectionDeserialized
Occurs when a connection has been deserialized.
Public eventConnectionManipulationCompleted
Occurs when the connection manipulation has completed.
Public eventConnectionManipulationStarted
Occurs before the connection manipulation has started.
Public eventConnectionSerialized
Occurs when a connection has been serialized.
Public eventConnectorActivationChanged
Occurs after a connector activation or deactivation.
Public eventDeserialized
Occurs when the diagram has been deserialized.
Public eventDiagramLayoutComplete
Occurs when the diagram layout has completed.
Public eventDrag
Occurs when an item is dragged.
Public eventGraphSourceChanged
Occurs when the graph source has changed.
Public eventGraphSourceChanging
Occurs when the graph source begins changing.
Public eventGroupsChanged
Occurs when count of the groups change.
Public eventItemsChanged
Occurs when count of the items change.
Public eventItemsChanging
Occurs while the diagram items are changing.
Public eventMetadataDeserialized
Occurs when the diagram's metadata has been deserialized.
Public eventMetadataSerialized
Occurs when the diagram's metadata has been serialized.
Public eventPan
Occurs after the diagram is panned.
Public eventPositionChanged
Occurs when the position has changed.
Public eventPreviewAdditionalContentActivated
Occurs when AdditionContent is about to be activated.
Public eventPreviewDrag
Occurs before an item is dragged.
Public eventPreviewPan
Occurs before the diagram is panned.
Public eventPreviewResize
Occurs before an item is resized.
Public eventPreviewRotate
Occurs before an item is rotated.
Public eventPreviewSelectionChanged
Occurs when the selection of the diagram starts changing.
Public eventPreviewZoom
Occurs before the zoom has been changed.
Public eventResize
Occurs when an item is resized.
Public eventRotate
Occurs when an item is rotated.
Public eventSelectionBoundsChanged
Occurs when the selection bounds of the diagram changes.
Public eventSelectionChanged
Occurs when the selection of the diagram changes.
Public eventSerialized
Occurs after the diagram has been serialized.
Public eventShapeClicked
Occurs when shape is clicked.
Public eventShapeDeserialized
Occurs when a shape has been deserialized.
Public eventShapeDoubleClicked
Occurs when a shape has been double-clicked.
Public eventShapeSerialized
Occurs when a shape has been serialized.
Public eventViewportChanged
Occurs when the viewport has changed.
Public eventVisualChildrenChanged
Occurs when [children changed].
Public eventZoomChanged
Occurs when the zoom has been changed.
Top
See Also