Skip to main content
A newer version of this page is available. .

DiagramControl Members

Provides a canvas where you or your end-users can display, create and edit various diagrams.

Constructors

Name Description
DiagramControl() Initializes a new instance of the DiagramControl class with default settings.

Fields

Name Description
ActiveToolProperty static Identifies the DiagramControl.ActiveTool dependency property.
ActualHeightProperty static Identifies the ActualHeight dependency property. Inherited from FrameworkElement.
ActualWidthProperty static Identifies the ActualWidth dependency property. Inherited from FrameworkElement.
AddingNewItemEvent static Identifies the DiagramControl.AddingNewItem routed event.
AllowAddRemoveItemsProperty static Identifies the DiagramControl.AllowAddRemoveItems dependency property.
AllowApplyAutomaticLayoutForSubordinatesProperty static Identifies the DiagramControl.AllowApplyAutomaticLayoutForSubordinates dependency property.
AllowApplyAutomaticLayoutProperty static Identifies the DiagramControl.AllowApplyAutomaticLayout dependency property.
AllowAttachDetachConnectorsProperty static Identifies the DiagramControl.AllowAttachDetachConnectors dependency property.
AllowChangeCanvasSizeModeProperty static Identifies the DiagramControl.AllowChangeCanvasSizeMode dependency property.
AllowChangeConnectorsArrowSettingsProperty static Identifies the DiagramControl.AllowChangeConnectorsArrowSettings dependency property.
AllowChangeConnectorsRouteProperty static Identifies the DiagramControl.AllowChangeConnectorsRoute dependency property.
AllowChangeConnectorsTypeProperty static Identifies the DiagramControl.AllowChangeConnectorsType dependency property.
AllowChangeContainerHeaderPaddingProperty static Identifies the DiagramControl.AllowChangeContainerHeaderPadding dependency property.
AllowChangeContainerHeaderVisibilityProperty static Identifies the DiagramControl.AllowChangeContainerHeaderVisibility dependency property.
AllowChangeContainerPaddingProperty static Identifies the DiagramControl.AllowChangeContainerPadding dependency property.
AllowChangeContainerStyleProperty static Identifies the DiagramControl.AllowChangeContainerStyle dependency property.
AllowChangeGridVisibilityProperty static Identifies the DiagramControl.AllowChangeGridVisibility dependency property.
AllowChangeImageProperty static Identifies the DiagramControl.AllowChangeImage dependency property.
AllowChangeImageStretchModeProperty static Identifies the DiagramControl.AllowChangeImageStretchMode dependency property.
AllowChangeItemBackgroundProperty static Identifies the DiagramControl.AllowChangeItemBackground dependency property.
AllowChangeItemStrokeProperty static Identifies the DiagramControl.AllowChangeItemStroke dependency property.
AllowChangeItemStyleProperty static Identifies the DiagramControl.AllowChangeItemStyle dependency property.
AllowChangeItemZOrderProperty static Identifies the DiagramControl.AllowChangeItemZOrder dependency property.
AllowChangeLineJumpSettingsProperty static Identifies the DiagramControl.AllowChangeLineJumpSettings dependency property.
AllowChangePageBreaksVisibilityProperty static Identifies the DiagramControl.AllowChangePageBreaksVisibility dependency property.
AllowChangePageParametersProperty static Identifies the DiagramControl.AllowChangePageParameters dependency property.
AllowChangeRulerVisibilityProperty static Identifies the DiagramControl.AllowChangeRulerVisibility dependency property.
AllowChangeShapesParameterProperty static Identifies the DiagramControl.AllowChangeShapesParameter dependency property.
AllowChangeTextFontProperty static Identifies the DiagramControl.AllowChangeTextFont dependency property.
AllowChangeTextForegroundProperty static Identifies the DiagramControl.AllowChangeTextForeground dependency property.
AllowChangeTextHorizontalAlignmentProperty static Identifies the DiagramControl.AllowChangeTextHorizontalAlignment dependency property.
AllowChangeTextVerticalAlignmentProperty static Identifies the DiagramControl.AllowChangeTextVerticalAlignment dependency property.
AllowChangeThemeProperty static Identifies the DiagramControl.AllowChangeTheme dependency property.
AllowCollapseContainersProperty static Identifies the DiagramControl.AllowCollapseContainers dependency property.
AllowCopyItemsProperty static Identifies the DiagramControl.AllowCopyItems dependency property.
AllowDiagramPropertiesProperty static Obsolete. Identifies the DiagramControl.AllowDiagramProperties dependency property.
AllowDropProperty static Identifies the AllowDrop dependency property. Inherited from UIElement.
AllowEditItemsProperty static Identifies the DiagramControl.AllowEditItems dependency property.
AllowEmptySelectionProperty static Identifies the DiagramControl.AllowEmptySelection dependency property.
AllowFlipImageProperty static Identifies the DiagramControl.AllowFlipImage dependency property.
AllowMoveItemsProperty static Identifies the DiagramControl.AllowMoveItems dependency property.
AllowPropertiesPanelProperty static Identifies the DiagramControl.AllowPropertiesPanel dependency property.
AllowResizeItemsProperty static Identifies the DiagramControl.AllowResizeItems dependency property.
AllowRotateItemsProperty static Identifies the DiagramControl.AllowRotateItems dependency property.
AllowUndoRedoProperty static Identifies the DiagramControl.AllowUndoRedo dependency property.
AllowZoomProperty static Identifies the DiagramControl.AllowZoom dependency property.
AreAnyTouchesCapturedProperty static Identifies the AreAnyTouchesCaptured dependency property. Inherited from UIElement.
AreAnyTouchesCapturedWithinProperty static Identifies the AreAnyTouchesCapturedWithin dependency property. Inherited from UIElement.
AreAnyTouchesDirectlyOverProperty static Identifies the AreAnyTouchesDirectlyOver dependency property. Inherited from UIElement.
AreAnyTouchesOverProperty static Identifies the AreAnyTouchesOver dependency property. Inherited from UIElement.
BackgroundProperty static Identifies the Background dependency property. Inherited from Control.
BackgroundTemplateProperty static Identifies the DiagramControl.BackgroundTemplate dependency property.
BeforeItemsMovingEvent static Identifies the DiagramControl.BeforeItemsMoving routed event.
BeforeItemsResizingEvent static Identifies the DiagramControl.BeforeItemsResizing routed event.
BeforeItemsRotatingEvent static Identifies the DiagramControl.BeforeItemsRotating routed event.
BindingGroupProperty static Identifies the BindingGroup dependency property. Inherited from FrameworkElement.
BitmapEffectInputProperty static Identifies the BitmapEffectInput dependency property. Inherited from UIElement.
BitmapEffectProperty static Identifies the BitmapEffect dependency property. Inherited from UIElement.
BorderBrushProperty static Identifies the BorderBrush dependency property. Inherited from Control.
BorderThicknessProperty static Identifies the BorderThickness dependency property. Inherited from Control.
BringIntoViewMarginProperty static Identifies the DiagramControl.BringIntoViewMargin dependency property.
CacheModeProperty static Identifies the CacheMode dependency property. Inherited from UIElement.
CanRedoProperty static Identifies the DiagramControl.CanRedo dependency property.
CanUndoProperty static Identifies the DiagramControl.CanUndo dependency property.
CanvasBoundsChangedEvent static Identifies the DiagramControl.CanvasBoundsChanged routed event.
CanvasSizeModeProperty static Identifies the DiagramControl.CanvasSizeMode dependency property.
CircularLayoutNodesSpacingProperty static Identifies the DiagramControl.CircularLayoutNodesSpacing dependency property.
CircularLayoutOrderProperty static Identifies the DiagramControl.CircularLayoutOrder dependency property.
CircularLayoutStartAngleProperty static Identifies the DiagramControl.CircularLayoutStartAngle dependency property.
ClipProperty static Identifies the Clip dependency property. Inherited from UIElement.
ClipToBoundsProperty static Identifies the ClipToBounds dependency property. Inherited from UIElement.
ClosedEditorEvent static Identifies the DiagramControl.ClosedEditor routed event.
ConnectionChangedEvent static Identifies the DiagramControl.ConnectionChanged routed event.
ConnectionChangingEvent static Identifies the DiagramControl.ConnectionChanging routed event.
ConnectorsSeparationModeProperty static Identifies the DiagramControl.ConnectorsSeparationMode dependency property.
ConnectorToolProperty static Identifies the DiagramControl.ConnectorTool dependency property.
ContainerIsCollapsedChangedEvent static Identifies the DiagramControl.ContainerIsCollapsedChanged routed event.
ContainerIsCollapsedChangingEvent static Identifies the DiagramControl.ContainerIsCollapsedChanging routed event.
ContextMenuClosingEvent static Identifies the ContextMenuClosing routed event. Inherited from FrameworkElement.
ContextMenuOpeningEvent static Identifies the ContextMenuOpening routed event. Inherited from FrameworkElement.
ContextMenuProperty static Identifies the ContextMenu dependency property. Inherited from FrameworkElement.
Controller This member supports the internal infrastructure and is not intended to be used directly from your code.
CursorProperty static Identifies the Cursor dependency property. Inherited from FrameworkElement.
CustomCursorEvent static Identifies the DiagramControl.CustomCursor routed event.
CustomItemDragEvent static Identifies the DiagramControl.CustomItemDrag routed event.
CustomItemDragResultEvent static Identifies the DiagramControl.CustomItemDragResult routed event.
CustomItemGiveFeedbackEvent static Identifies the DiagramControl.CustomItemGiveFeedback routed event.
CustomItemQueryContinueDragEvent static Identifies the DiagramControl.CustomItemQueryContinueDrag routed event.
CustomLoadDocumentEvent static Identifies the DiagramControl.CustomLoadDocument routed event.
CustomLoadImageEvent static Identifies the DiagramControl.CustomLoadImage routed event.
CustomSaveDocumentEvent static Identifies the DiagramControl.CustomSaveDocument routed event.
DataContextProperty static Identifies the DataContext dependency property. Inherited from FrameworkElement.
DefaultStyleKeyProperty protected static Identifies the DefaultStyleKey dependency property. Inherited from FrameworkElement.
DeletingItemsEvent static Identifies the DiagramControl.DeletingItems routed event.
DiagramPageBackgroundTemplateProperty static Identifies the DiagramControl.DiagramPageBackgroundTemplate dependency property.
DiagramPageBackgroundTemplateSelectorProperty static Identifies the DiagramControl.DiagramPageBackgroundTemplateSelector dependency property.
DiagramProperty static Identifies the DiagramControl.Diagram dependency property.
DocumentLoadedEvent static Identifies the DiagramControl.DocumentLoaded routed event.
DocumentSourceProperty static Identifies the DiagramControl.DocumentSource dependency property.
DragEnterEvent static Identifies the DragEnter routed event. Inherited from UIElement.
DragLeaveEvent static Identifies the DragLeave routed event. Inherited from UIElement.
DragOverEvent static Identifies the DragOver routed event. Inherited from UIElement.
DrawingContextProperty static Identifies the DiagramControl.DrawingContext dependency property.
DropEvent static Identifies the Drop routed event. Inherited from UIElement.
EffectProperty static Identifies the Effect dependency property. Inherited from UIElement.
EllipseToolProperty static Identifies the DiagramControl.EllipseTool dependency property.
EnableProportionalResizingProperty static Identifies the DiagramControl.EnableProportionalResizing dependency property.
ExceptionMessageEvent static Identifies the DiagramControl.ExceptionMessage routed event.
ExportDPIProperty static Identifies the DiagramControl.ExportDPI dependency property.
ExportMarginProperty static Identifies the DiagramControl.ExportMargin dependency property.
ExportScaleProperty static Identifies the DiagramControl.ExportScale dependency property.
FileDialogFilterProperty static Identifies the DiagramControl.FileDialogFilter dependency property.
FitToDrawingMarginProperty static Identifies the DiagramControl.FitToDrawingMargin dependency property.
FlowDirectionProperty static Identifies the FlowDirection dependency property. Inherited from FrameworkElement.
FocusableProperty static Identifies the Focusable dependency property. Inherited from UIElement.
FocusVisualStyleProperty static Identifies the FocusVisualStyle dependency property. Inherited from FrameworkElement.
FontFamilyProperty static Identifies the FontFamily dependency property. Inherited from Control.
FontSizeProperty static Identifies the FontSize dependency property. Inherited from Control.
FontStretchProperty static Identifies the FontStretch dependency property. Inherited from Control.
FontStyleProperty static Identifies the FontStyle dependency property. Inherited from Control.
FontWeightProperty static Identifies the FontWeight dependency property. Inherited from Control.
ForceCursorProperty static Identifies the ForceCursor dependency property. Inherited from FrameworkElement.
ForegroundProperty static Identifies the Foreground dependency property. Inherited from Control.
GiveFeedbackEvent static Identifies the GiveFeedback routed event. Inherited from UIElement.
GlueToConnectionPointDistanceProperty static Identifies the DiagramControl.GlueToConnectionPointDistance dependency property.
GlueToItemDistanceProperty static Identifies the DiagramControl.GlueToItemDistance dependency property.
GotFocusEvent static Identifies the GotFocus routed event. Inherited from UIElement.
GotKeyboardFocusEvent static Identifies the GotKeyboardFocus routed event. Inherited from UIElement.
GotMouseCaptureEvent static Identifies the GotMouseCapture routed event. Inherited from UIElement.
GotStylusCaptureEvent static Identifies the GotStylusCapture routed event. Inherited from UIElement.
GotTouchCaptureEvent static Identifies the GotTouchCapture routed event. Inherited from UIElement.
GridSizeProperty static Identifies the DiagramControl.GridSize dependency property.
HasChangesProperty static Identifies the DiagramControl.HasChanges dependency property.
HeightProperty static Identifies the Height dependency property. Inherited from FrameworkElement.
HexagonToolProperty static Identifies the DiagramControl.HexagonTool dependency property.
HorizontalAlignmentProperty static Identifies the HorizontalAlignment dependency property. Inherited from FrameworkElement.
HorizontalContentAlignmentProperty static Identifies the HorizontalContentAlignment dependency property. Inherited from Control.
InputScopeProperty static Identifies the InputScope dependency property. Inherited from FrameworkElement.
IsContainerToolsVisibleProperty static Identifies the DiagramControl.IsContainerToolsVisible dependency property.
IsEnabledProperty static Identifies the IsEnabled dependency property. Inherited from UIElement.
IsFocusedProperty static Identifies the IsFocused dependency property. Inherited from UIElement.
IsHitTestVisibleProperty static Identifies the IsHitTestVisible dependency property. Inherited from UIElement.
IsImageToolsVisibleProperty static Identifies the DiagramControl.IsImageToolsVisible dependency property.
IsKeyboardFocusedProperty static Identifies the IsKeyboardFocused dependency property. Inherited from UIElement.
IsKeyboardFocusWithinProperty static Identifies the IsKeyboardFocusWithin dependency property. Inherited from UIElement.
IsManipulationEnabledProperty static Identifies the IsManipulationEnabled dependency property. Inherited from UIElement.
IsMouseCapturedProperty static Identifies the IsMouseCaptured dependency property. Inherited from UIElement.
IsMouseCaptureWithinProperty static Identifies the IsMouseCaptureWithin dependency property. Inherited from UIElement.
IsMouseDirectlyOverProperty static Identifies the IsMouseDirectlyOver dependency property. Inherited from UIElement.
IsMouseOverProperty static Identifies the IsMouseOver dependency property. Inherited from UIElement.
IsReadOnlyProperty static Identifies the DiagramControl.IsReadOnly dependency property.
IsStylusCapturedProperty static Identifies the IsStylusCaptured dependency property. Inherited from UIElement.
IsStylusCaptureWithinProperty static Identifies the IsStylusCaptureWithin dependency property. Inherited from UIElement.
IsStylusDirectlyOverProperty static Identifies the IsStylusDirectlyOver dependency property. Inherited from UIElement.
IsStylusOverProperty static Identifies the IsStylusOver dependency property. Inherited from UIElement.
IsTabStopProperty static Identifies the IsTabStop dependency property. Inherited from Control.
IsTextEditModeProperty static Identifies the DiagramControl.IsTextEditMode dependency property.
IsVisibleProperty static Identifies the IsVisible dependency property. Inherited from UIElement.
ItemBoundsChangedEvent static Identifies the DiagramControl.ItemBoundsChanged routed event.
ItemContentChangedEvent static Identifies the DiagramControl.ItemContentChanged routed event.
ItemCreatingEvent static Identifies the DiagramControl.ItemCreating routed event.
ItemDrawingEvent static Identifies the DiagramControl.ItemDrawing routed event.
ItemInitializingEvent static Identifies the DiagramControl.ItemInitializing routed event.
ItemsChangedEvent static Identifies the DiagramControl.ItemsChanged routed event.
ItemsDeletingEvent static Identifies the DiagramControl.ItemsDeleting routed event.
ItemsMovingEvent static Identifies the DiagramControl.ItemsMoving routed event.
ItemsPastingEvent static Identifies the DiagramControl.ItemsPasting routed event.
ItemsResizingEvent static Identifies the DiagramControl.ItemsResizing routed event.
ItemsRotatingEvent static Identifies the DiagramControl.ItemsRotating routed event.
KeyDownEvent static Identifies the KeyDown routed event. Inherited from UIElement.
KeyUpEvent static Identifies the KeyUp routed event. Inherited from UIElement.
LandscapeProperty static Identifies the DiagramControl.Landscape dependency property.
LanguageProperty static Identifies the Language dependency property. Inherited from FrameworkElement.
LastShapeStylesProperty static Identifies the DiagramControl.LastShapeStyles dependency property.
LayoutTransformProperty static Identifies the LayoutTransform dependency property. Inherited from FrameworkElement.
LineJumpPlacementProperty static Identifies the DiagramControl.LineJumpPlacement dependency property.
LineJumpSizeProperty static Identifies the DiagramControl.LineJumpSize dependency property.
LineJumpStyleProperty static Identifies the DiagramControl.LineJumpStyle dependency property.
LoadedEvent static Identifies the Loaded routed event. Inherited from FrameworkElement.
LostFocusEvent static Identifies the LostFocus routed event. Inherited from UIElement.
LostKeyboardFocusEvent static Identifies the LostKeyboardFocus routed event. Inherited from UIElement.
LostMouseCaptureEvent static Identifies the LostMouseCapture routed event. Inherited from UIElement.
LostStylusCaptureEvent static Identifies the LostStylusCapture routed event. Inherited from UIElement.
LostTouchCaptureEvent static Identifies the LostTouchCapture routed event. Inherited from UIElement.
ManipulationBoundaryFeedbackEvent static Identifies the ManipulationBoundaryFeedback event. Inherited from UIElement.
ManipulationCompletedEvent static Identifies the ManipulationCompleted routed event. Inherited from UIElement.
ManipulationDeltaEvent static Identifies the ManipulationDelta routed event. Inherited from UIElement.
ManipulationInertiaStartingEvent static Identifies the ManipulationInertiaStarting routed event. Inherited from UIElement.
ManipulationStartedEvent static Identifies the ManipulationStarted routed event. Inherited from UIElement.
ManipulationStartingEvent static Identifies the ManipulationStarting routed event. Inherited from UIElement.
MarginProperty static Identifies the Margin dependency property. Inherited from FrameworkElement.
MaxHeightProperty static Identifies the MaxHeight dependency property. Inherited from FrameworkElement.
MaxWidthProperty static Identifies the MaxWidth dependency property. Inherited from FrameworkElement.
MaxZoomFactorProperty static Identifies the DiagramControl.MaxZoomFactor dependency property.
MeasureUnitProperty static Identifies the DiagramControl.MeasureUnit dependency property.
MindMapTreeLayoutConnectorsRoutingProperty static Identifies the DiagramControl.MindMapTreeLayoutConnectorsRouting dependency property.
MindMapTreeLayoutHierarchyAlignmentProperty static Identifies the DiagramControl.MindMapTreeLayoutHierarchyAlignment dependency property.
MindMapTreeLayoutHierarchySpacingProperty static Identifies the DiagramControl.MindMapTreeLayoutHierarchySpacing dependency property.
MindMapTreeLayoutNodeAlignmentProperty static Identifies the DiagramControl.MindMapTreeLayoutNodeAlignment dependency property.
MindMapTreeLayoutNodeSpacingProperty static Identifies the DiagramControl.MindMapTreeLayoutNodeSpacing dependency property.
MindMapTreeLayoutOrientationProperty static Identifies the DiagramControl.MindMapTreeLayoutOrientation dependency property.
MindMapTreeLayoutRootSpacingProperty static Identifies the DiagramControl.MindMapTreeLayoutRootSpacing dependency property.
MindMapTreeLayoutSplitModeProperty static Identifies the DiagramControl.MindMapTreeLayoutSplitMode dependency property.
MindMapTreeLayoutSubTreeAlignmentProperty static Identifies the DiagramControl.MindMapTreeLayoutSubTreeAlignment dependency property.
MindMapTreeLayoutSubTreeDefaultSplitModeProperty static Identifies the DiagramControl.MindMapTreeLayoutSubTreeDefaultSplitMode dependency property.
MindMapTreeLayoutSubTreeSelectorProperty static Identifies the DiagramControl.MindMapTreeLayoutSubTreeSelector dependency property.
MinDragDistanceProperty static Identifies the DiagramControl.MinDragDistance dependency property.
MinHeightProperty static Identifies the MinHeight dependency property. Inherited from FrameworkElement.
MinWidthProperty static Identifies the MinWidth dependency property. Inherited from FrameworkElement.
MinZoomFactorProperty static Identifies the DiagramControl.MinZoomFactor dependency property.
MouseDoubleClickEvent static Identifies the MouseDoubleClick routed event. Inherited from Control.
MouseDownEvent static Identifies the MouseDown routed event. Inherited from UIElement.
MouseEnterEvent static Identifies the MouseEnter routed event. Inherited from UIElement.
MouseLeaveEvent static Identifies the MouseLeave routed event. Inherited from UIElement.
MouseLeftButtonDownEvent static Identifies the MouseLeftButtonDown routed event. Inherited from UIElement.
MouseLeftButtonUpEvent static Identifies the MouseLeftButtonUp routed event. Inherited from UIElement.
MouseMoveEvent static Identifies the MouseMove routed event. Inherited from UIElement.
MouseRightButtonDownEvent static Identifies the MouseRightButtonDown routed event. Inherited from UIElement.
MouseRightButtonUpEvent static Identifies the MouseRightButtonUp routed event. Inherited from UIElement.
MouseUpEvent static Identifies the MouseUp routed event. Inherited from UIElement.
MouseWheelEvent static Identifies the MouseWheel routed event. Inherited from UIElement.
NameProperty static Identifies the Name dependency property. Inherited from FrameworkElement.
OpacityMaskProperty static Identifies the OpacityMask dependency property. Inherited from UIElement.
OpacityProperty static Identifies the Opacity dependency property. Inherited from UIElement.
OrgChartLayoutConnectorsRoutingProperty static Identifies the DiagramControl.OrgChartLayoutConnectorsRouting dependency property.
OrgChartLayoutDirectionProperty static Identifies the DiagramControl.OrgChartLayoutDirection dependency property.
OrgChartLayoutHierarchySpacingProperty static Identifies the DiagramControl.OrgChartLayoutHierarchySpacing dependency property.
OrgChartLayoutNodeSpacingProperty static Identifies the DiagramControl.OrgChartLayoutNodeSpacing dependency property.
OrgChartLayoutSplitModeProperty static Identifies the DiagramControl.OrgChartLayoutSplitMode dependency property.
OrgChartLayoutTipOverDirectionProperty static Identifies the DiagramControl.OrgChartLayoutTipOverDirection dependency property.
OrgChartLayoutTipOverOffsetModeProperty static Identifies the DiagramControl.OrgChartLayoutTipOverOffsetMode dependency property.
OrgChartLayoutTreeAlignmentProperty static Identifies the DiagramControl.OrgChartLayoutTreeAlignment dependency property.
OrgChartLayoutTreeLevelCountProperty static Identifies the DiagramControl.OrgChartLayoutTreeLevelCount dependency property.
OverridesDefaultStyleProperty static Identifies the OverridesDefaultStyle dependency property. Inherited from FrameworkElement.
PaddingProperty static Identifies the Padding dependency property. Inherited from Control.
PageMarginProperty static Identifies the DiagramControl.PageMargin dependency property.
PageSizeProperty static Identifies the DiagramControl.PageSize dependency property.
PanToolProperty static Identifies the DiagramControl.PanTool dependency property.
PaperKindProperty static Identifies the DiagramControl.PaperKind dependency property.
PdfExportOptionsProperty static Identifies the DiagramControl.PdfExportOptions dependency property.
PointerToolDragModeProperty static Identifies the DiagramControl.PointerToolDragMode dependency property.
PointerToolProperty static Identifies the DiagramControl.PointerTool dependency property.
PreviewDragEnterEvent static Identifies the PreviewDragEnter routed event. Inherited from UIElement.
PreviewDragLeaveEvent static Identifies the PreviewDragLeave routed event. Inherited from UIElement.
PreviewDragOverEvent static Identifies the PreviewDragOver routed event. Inherited from UIElement.
PreviewDropEvent static Identifies the PreviewDrop routed event. Inherited from UIElement.
PreviewGiveFeedbackEvent static Identifies the PreviewGiveFeedback routed event. Inherited from UIElement.
PreviewGotKeyboardFocusEvent static Identifies the PreviewGotKeyboardFocus routed event. Inherited from UIElement.
PreviewKeyDownEvent static Identifies the PreviewKeyDown routed event. Inherited from UIElement.
PreviewKeyUpEvent static Identifies the PreviewKeyUp routed event. Inherited from UIElement.
PreviewLostKeyboardFocusEvent static Identifies the PreviewLostKeyboardFocus routed event. Inherited from UIElement.
PreviewMouseDoubleClickEvent static Identifies the PreviewMouseDoubleClick routed event. Inherited from Control.
PreviewMouseDownEvent static Identifies the PreviewMouseDown routed event. Inherited from UIElement.
PreviewMouseLeftButtonDownEvent static Identifies the PreviewMouseLeftButtonDown routed event. Inherited from UIElement.
PreviewMouseLeftButtonUpEvent static Identifies the PreviewMouseLeftButtonUp routed event. Inherited from UIElement.
PreviewMouseMoveEvent static Identifies the PreviewMouseMove routed event. Inherited from UIElement.
PreviewMouseRightButtonDownEvent static Identifies the PreviewMouseRightButtonDown routed event. Inherited from UIElement.
PreviewMouseRightButtonUpEvent static Identifies the PreviewMouseRightButtonUp routed event. Inherited from UIElement.
PreviewMouseUpEvent static Identifies the PreviewMouseUp routed event. Inherited from UIElement.
PreviewMouseWheelEvent static Identifies the PreviewMouseWheel routed event. Inherited from UIElement.
PreviewQueryContinueDragEvent static Identifies the PreviewQueryContinueDrag routed event. Inherited from UIElement.
PreviewStylusButtonDownEvent static Identifies the PreviewStylusButtonDown routed event. Inherited from UIElement.
PreviewStylusButtonUpEvent static Identifies the PreviewStylusButtonUp routed event. Inherited from UIElement.
PreviewStylusDownEvent static Identifies the PreviewStylusDown routed event. Inherited from UIElement.
PreviewStylusInAirMoveEvent static Identifies the PreviewStylusInAirMove routed event. Inherited from UIElement.
PreviewStylusInRangeEvent static Identifies the PreviewStylusInRange routed event. Inherited from UIElement.
PreviewStylusMoveEvent static Identifies the PreviewStylusMove routed event. Inherited from UIElement.
PreviewStylusOutOfRangeEvent static Identifies the PreviewStylusOutOfRange routed event. Inherited from UIElement.
PreviewStylusSystemGestureEvent static Identifies the PreviewStylusSystemGesture routed event. Inherited from UIElement.
PreviewStylusUpEvent static Identifies the PreviewStylusUp routed event. Inherited from UIElement.
PreviewTextInputEvent static Identifies the PreviewTextInput routed event. Inherited from UIElement.
PreviewTouchDownEvent static Identifies the PreviewTouchDown routed event. Inherited from UIElement.
PreviewTouchMoveEvent static Identifies the PreviewTouchMove routed event. Inherited from UIElement.
PreviewTouchUpEvent static Identifies the PreviewTouchUp routed event. Inherited from UIElement.
PrimarySelectionProperty static Identifies the DiagramControl.PrimarySelection dependency property.
PrintExportModeProperty static Identifies the DiagramControl.PrintExportMode dependency property.
PrintPageBackgroundTemplateProperty static Identifies the DiagramControl.PrintPageBackgroundTemplate dependency property.
PrintPageBackgroundTemplateSelectorProperty static Identifies the DiagramControl.PrintPageBackgroundTemplateSelector dependency property.
PropertiesPanelVisibilityProperty static Identifies the DiagramControl.PropertiesPanelVisibility dependency property.
QueryConnectionPointsEvent static Identifies the DiagramControl.QueryConnectionPoints routed event.
QueryContinueDragEvent static Identifies the QueryContinueDrag routed event. Inherited from UIElement.
QueryCursorEvent static Identifies the QueryCursor routed event. Inherited from UIElement.
QueryItemDrawActionEvent static Identifies the DiagramControl.QueryItemDrawAction routed event.
QueryItemEditActionEvent static Identifies the DiagramControl.QueryItemEditAction routed event.
QueryItemsActionEvent static Identifies the DiagramControl.QueryItemsAction routed event.
QueryItemSnappingEvent static Identifies the DiagramControl.QueryItemSnapping routed event.
RectangleToolProperty static Identifies the DiagramControl.RectangleTool dependency property.
RelayoutItemsCompletedEvent static Identifies the DiagramControl.RelayoutItemsCompleted routed event.
RenderTransformOriginProperty static Identifies the RenderTransformOrigin dependency property. Inherited from UIElement.
RenderTransformProperty static Identifies the RenderTransform dependency property. Inherited from UIElement.
RequestBringIntoViewEvent static Identifies the RequestBringIntoView routed event. Inherited from FrameworkElement.
ResizingModeProperty static Identifies the DiagramControl.ResizingMode dependency property.
RightTriangleToolProperty static Identifies the DiagramControl.RightTriangleTool dependency property.
RootToolsModelProperty static Identifies the DiagramControl.RootToolsModel dependency property.
ScrollMarginProperty static Identifies the DiagramControl.ScrollMargin dependency property.
ScrollModeProperty static Identifies the DiagramControl.ScrollMode dependency property.
SelectedStencilsProperty static Identifies the DiagramControl.SelectedStencils dependency property.
SelectionChangedEvent static Identifies the DiagramControl.SelectionChanged routed event.
SelectionModelProperty static Identifies the DiagramControl.SelectionModel dependency property.
SelectionModeProperty static Identifies the DiagramControl.SelectionMode dependency property.
SelectionToolsModelProperty static Identifies the DiagramControl.SelectionToolsModel dependency property.
SelectPartiallyCoveredItemsProperty static Identifies the DiagramControl.SelectPartiallyCoveredItems dependency property.
ShowGridProperty static Identifies the DiagramControl.ShowGrid dependency property.
ShowingEditorEvent static Identifies the DiagramControl.ShowingEditor routed event.
ShowingOpenDialogEvent static Identifies the DiagramControl.ShowingOpenDialog routed event.
ShowingOpenImageDialogEvent static Identifies the DiagramControl.ShowingOpenImageDialog routed event.
ShowingSaveDialogEvent static Identifies the DiagramControl.ShowingSaveDialog routed event.
ShowPageBreaksProperty static Identifies the DiagramControl.ShowPageBreaks dependency property.
ShowPanAndZoomPanelProperty static Identifies the DiagramControl.ShowPanAndZoomPanel dependency property.
ShowQuickShapesProperty static Identifies the DiagramControl.ShowQuickShapes dependency property.
ShowRulersProperty static Identifies the DiagramControl.ShowRulers dependency property.
ShowSelectionRectangleProperty static Identifies the DiagramControl.ShowSelectionRectangle dependency property.
SizeChangedEvent static Identifies the SizeChanged routed event. Inherited from FrameworkElement.
SnapsToDevicePixelsProperty static Identifies the SnapsToDevicePixels dependency property. Inherited from UIElement.
SnapToGridProperty static Identifies the DiagramControl.SnapToGrid dependency property.
SnapToItemsDistanceProperty static Identifies the DiagramControl.SnapToItemsDistance dependency property.
SnapToItemsProperty static Identifies the DiagramControl.SnapToItems dependency property.
StencilsProperty static Identifies the DiagramControl.Stencils dependency property.
StyleProperty static Identifies the Style dependency property. Inherited from FrameworkElement.
StylusButtonDownEvent static Identifies the StylusButtonDown routed event. Inherited from UIElement.
StylusButtonUpEvent static Identifies the StylusButtonUp routed event. Inherited from UIElement.
StylusDownEvent static Identifies the StylusDown routed event. Inherited from UIElement.
StylusEnterEvent static Identifies the StylusEnter routed event. Inherited from UIElement.
StylusInAirMoveEvent static Identifies the StylusInAirMove routed event. Inherited from UIElement.
StylusInRangeEvent static Identifies the StylusInRange routed event. Inherited from UIElement.
StylusLeaveEvent static Identifies the StylusLeave routed event. Inherited from UIElement.
StylusMoveEvent static Identifies the StylusMove routed event. Inherited from UIElement.
StylusOutOfRangeEvent static Identifies the StylusOutOfRange routed event. Inherited from UIElement.
StylusSystemGestureEvent static Identifies the StylusSystemGesture routed event. Inherited from UIElement.
StylusUpEvent static Identifies the StylusUp routed event. Inherited from UIElement.
SubordinatesHiddenEvent static Identifies the DiagramControl.SubordinatesHidden routed event.
SubordinatesHidingEvent static Identifies the DiagramControl.SubordinatesHiding routed event.
SubordinatesShowingEvent static Identifies the DiagramControl.SubordinatesShowing routed event.
SubordinatesShownEvent static Identifies the DiagramControl.SubordinatesShown routed event.
SugiyamaLayoutColumnsAlignmentProperty static Identifies the DiagramControl.SugiyamaLayoutColumnsAlignment dependency property.
SugiyamaLayoutColumnSpacingProperty static Identifies the DiagramControl.SugiyamaLayoutColumnSpacing dependency property.
SugiyamaLayoutConnectorsRoutingProperty static Identifies the DiagramControl.SugiyamaLayoutConnectorsRouting dependency property.
SugiyamaLayoutDirectionProperty static Identifies the DiagramControl.SugiyamaLayoutDirection dependency property.
SugiyamaLayoutLayersAlignmentProperty static Identifies the DiagramControl.SugiyamaLayoutLayersAlignment dependency property.
SugiyamaLayoutLayerSpacingProperty static Identifies the DiagramControl.SugiyamaLayoutLayerSpacing dependency property.
TabIndexProperty static Identifies the TabIndex dependency property. Inherited from Control.
TagProperty static Identifies the Tag dependency property. Inherited from FrameworkElement.
TemplateProperty static Identifies the Template dependency property. Inherited from Control.
TextInputEvent static Identifies the TextInput routed event. Inherited from UIElement.
ThemeProperty static Identifies the DiagramControl.Theme dependency property.
TipOverTreeLayoutConnectorsRoutingProperty static Identifies the DiagramControl.TipOverTreeLayoutConnectorsRouting dependency property.
TipOverTreeLayoutDirectionProperty static Identifies the DiagramControl.TipOverTreeLayoutDirection dependency property.
TipOverTreeLayoutHorizontalAlignmentProperty static Identifies the DiagramControl.TipOverTreeLayoutHorizontalAlignment dependency property.
TipOverTreeLayoutOffsetModeProperty static Identifies the DiagramControl.TipOverTreeLayoutOffsetMode dependency property.
TipOverTreeLayoutOffsetProperty static Identifies the DiagramControl.TipOverTreeLayoutOffset dependency property.
TipOverTreeLayoutSplitModeProperty static Identifies the DiagramControl.TipOverTreeLayoutSplitMode dependency property.
TipOverTreeLayoutVerticalAlignmentProperty static Identifies the DiagramControl.TipOverTreeLayoutVerticalAlignment dependency property.
TipOverTreeLayoutVerticalSpacingProperty static Identifies the DiagramControl.TipOverTreeLayoutVerticalSpacing dependency property.
TitleProperty static Identifies the DiagramControl.Title dependency property.
ToolboxVisibilityProperty static Identifies the DiagramControl.ToolboxVisibility dependency property.
ToolTipClosingEvent static Identifies the ToolTipClosing routed event. Inherited from FrameworkElement.
ToolTipOpeningEvent static Identifies the ToolTipOpening routed event. Inherited from FrameworkElement.
ToolTipProperty static Identifies the ToolTip dependency property. Inherited from FrameworkElement.
TouchDownEvent static Identifies the TouchDown routed event. Inherited from UIElement.
TouchEnterEvent static Identifies the TouchEnter routed event. Inherited from UIElement.
TouchLeaveEvent static Identifies the TouchLeave routed event. Inherited from UIElement.
TouchMoveEvent static Identifies the TouchMove routed event. Inherited from UIElement.
TouchUpEvent static Identifies the TouchUp routed event. Inherited from UIElement.
TreeLayoutAlignmentProperty static Identifies the DiagramControl.TreeLayoutAlignment dependency property.
TreeLayoutBreadthAlignmentProperty static Identifies the DiagramControl.TreeLayoutBreadthAlignment dependency property.
TreeLayoutConnectorsRoutingProperty static Identifies the DiagramControl.TreeLayoutConnectorsRouting dependency property.
TreeLayoutDepthAlignmentProperty static Identifies the DiagramControl.TreeLayoutDepthAlignment dependency property.
TreeLayoutDirectionProperty static Identifies the DiagramControl.TreeLayoutDirection dependency property.
TreeLayoutHorizontalSpacingProperty static Identifies the DiagramControl.TreeLayoutHorizontalSpacing dependency property.
TreeLayoutIsCompactProperty static Identifies the DiagramControl.TreeLayoutIsCompact dependency property.
TreeLayoutSplitModeProperty static Identifies the DiagramControl.TreeLayoutSplitMode dependency property.
TreeLayoutVerticalSpacingProperty static Identifies the DiagramControl.TreeLayoutVerticalSpacing dependency property.
UidProperty static Identifies the Uid dependency property. Inherited from UIElement.
UnloadedEvent static Identifies the Unloaded routed event. Inherited from FrameworkElement.
UseLayoutRoundingProperty static Identifies the UseLayoutRounding dependency property. Inherited from FrameworkElement.
VerticalAlignmentProperty static Identifies the VerticalAlignment dependency property. Inherited from FrameworkElement.
VerticalContentAlignmentProperty static Identifies the VerticalContentAlignment dependency property. Inherited from Control.
VisibilityProperty static Identifies the Visibility dependency property. Inherited from UIElement.
WidthProperty static Identifies the Width dependency property. Inherited from FrameworkElement.
ZoomFactorChangedEvent static Identifies the DiagramControl.ZoomFactorChanged routed event.
ZoomFactorProperty static Identifies the DiagramControl.ZoomFactor dependency property.

Properties

Name Description
ActiveTool Specifies the currently selected diagram tool. This is a dependency property.
ActualHeight Gets the rendered height of this element. Inherited from FrameworkElement.
ActualWidth Gets the rendered width of this element. Inherited from FrameworkElement.
AllowAddRemoveItems Gets or sets whether to allow the end-user to add and remove diagram items from the canvas. This is a dependency property.
AllowApplyAutomaticLayout Gets or sets whether to allow the end-user to apply the Automatic Layout. This is a dependency property.
AllowApplyAutomaticLayoutForSubordinates Gets or sets whether to allow the end-user to apply the Automatic Layout to an item’s subordinates. This is a dependency property.
AllowAttachDetachConnectors Gets or sets whether to allow the end-user to change the connector’s starting and ending items. This is a dependency property.
AllowChangeCanvasSizeMode Gets or sets whether to allow the end-user to change the canvas size mode in the Ribbon. This is a dependency property.
AllowChangeConnectorsArrowSettings Gets or sets whether to allow users to change connector arrows in the Properties Panel. This is a dependency property.
AllowChangeConnectorsRoute Gets or sets whether to allow the end-user to manually reroute connectors. This is a dependency property.
AllowChangeConnectorsType Gets or sets whether to allow end-users to change the connector type in the Ribbon. This is a dependency property.
AllowChangeContainerHeaderPadding Gets or sets whether to allow the end-user to change the header’s padding within the container’s boundaries in the Ribbon. This is a dependency property.
AllowChangeContainerHeaderVisibility Gets or sets whether to allow the end-user to change the container header’s visibility. This is a dependency property.
AllowChangeContainerPadding Gets or sets whether to allow the end-user to change the container’s padding in the Ribbon. This is a dependency property.
AllowChangeContainerStyle Gets or sets whether to allow the end-user to change the container style in the Ribbon. This is a dependency property.
AllowChangeGridVisibility Gets or sets whether to allow the end-user to change the visibility of grid lines on the Canvas in the Ribbon. This is a dependency property.
AllowChangeImage Gets or sets whether to allow the end-user to change the source image of an image item. This is a dependency property.
AllowChangeImageStretchMode Gets or sets whether to allow the end-user to change the stretch mode for an image item in the Ribbon. This is a dependency property.
AllowChangeItemBackground Gets or sets whether to allow the end-user to change the diagram item’s background color in the Ribbon. This is a dependency property.
AllowChangeItemStroke Gets or sets whether to allow the end-user to change the diagram item’s stroke color in the Ribbon. This is a dependency property.
AllowChangeItemStyle Gets or sets whether to allow the end-user to change the diagram item’s style in the Ribbon. This is a dependency property.
AllowChangeItemZOrder Gets or sets whether to allow the end-user to change the item’s Z-order in the Ribbon. This is a dependency property.
AllowChangeLineJumpSettings Gets or sets whether to allow the end-user to change the line jump settings in the Page Setup Dialog Window. This is a dependency property.
AllowChangePageBreaksVisibility Gets or sets whether to allow the end-user to change the visibility of page breaks in the Ribbon. This is a dependency property.
AllowChangePageParameters Gets or sets whether to allow the end-user to change the page parameters in the Page Setup Dialog Window. This is a dependency property.
AllowChangeRulerVisibility Gets or sets whether to allow the end-user to change the visibility of grid rulers in the Ribbon. This is a dependency property.
AllowChangeShapesParameter Gets or sets whether to allow the end-user to transform shapes by dragging the transformation handles. This is a dependency property.
AllowChangeTextFont Gets or sets whether to allow the end-user to change the text font settings in the Ribbon. This is a dependency property.
AllowChangeTextForeground Gets or sets whether to allow the end-user to change the text foreground in the Ribbon. This is a dependency property.
AllowChangeTextHorizontalAlignment Gets or sets whether to allow the end-user to change the text horizontal alignment in the Ribbon. This is a dependency property.
AllowChangeTextVerticalAlignment Gets or sets whether to allow the end-user to change the text vertical alignment in the Ribbon. This is a dependency property.
AllowChangeTheme Gets or sets whether to allow end-users to select the diagram theme in the Ribbon. This is a dependency property.
AllowCollapseContainers Specifies whether to display the expand/collapse button for all containers. This is a dependency property.
AllowCopyItems Gets or sets whether to allow end-users to copy diagram items. This is a dependency property.
AllowDiagramProperties Obsolete. Specifies whether to display the ‘Properties’ menu item in the context menu. This is a dependency property.
AllowDrop Gets or sets a value indicating whether this element can be used as the target of a drag-and-drop operation. This is a dependency property. Inherited from UIElement.
AllowEditItems Gets or sets whether to allow the end-user to enter the text editing mode. This is a dependency property.
AllowEmptySelection Specifies whether to allow selecting the root item. This is a dependency property.
AllowFlipImage Gets or sets whether to allow the end-user to apply the flip effect to an image item in the Ribbon. This is a dependency property.
AllowMoveItems Gets or sets whether to allow the end-user to move diagram items by dragging with the mouse or pressing the arrow keys. This is a dependency property.
AllowPropertiesPanel Specifies whether to display the ‘Properties’ menu item in the context menu. This is a dependency property.
AllowResizeItems Gets or sets whether to allow the end-user to resize items by dragging selection handles. This is a dependency property.
AllowRotateItems Gets or sets whether to allow the end-user to rotate items by dragging the rotation handle. This is a dependency property.
AllowUndoRedo Gets or sets whether to allow the end-user to perform the undo/redo operations. This is a dependency property.
AllowZoom Gets or sets whether to allow the end-user to change the diagram zoom factor. This is a dependency property.
AreAnyTouchesCaptured Gets a value that indicates whether at least one touch is captured to this element. Inherited from UIElement.
AreAnyTouchesCapturedWithin Gets a value that indicates whether at least one touch is captured to this element or to any child elements in its visual tree. Inherited from UIElement.
AreAnyTouchesDirectlyOver Gets a value that indicates whether at least one touch is pressed over this element. Inherited from UIElement.
AreAnyTouchesOver Gets a value that indicates whether at least one touch is pressed over this element or any child elements in its visual tree. Inherited from UIElement.
Background Gets or sets a brush that describes the background of a control. Inherited from Control.
BackgroundTemplate Gets or sets the template that defines the presentation of the DiagramControl‘s background. This is a dependency property.
BindingGroup Gets or sets the BindingGroup that is used for the element. Inherited from FrameworkElement.
BitmapEffect Gets or sets a bitmap effect that applies directly to the rendered content for this element. This is a dependency property. Inherited from UIElement.
BitmapEffectInput Gets or sets an input source for the bitmap effect that applies directly to the rendered content for this element. This is a dependency property. Inherited from UIElement.
BorderBrush Gets or sets a brush that describes the border background of a control. Inherited from Control.
BorderThickness Gets or sets the border thickness of a control. Inherited from Control.
BringIntoViewMargin Gets or sets the margin between diagram items and viewport bounds when calling the DiagramControl.BringItemsIntoView and DiagramControl.BringSelectionIntoView methods. This is a dependency property.
CacheMode Gets or sets a cached representation of the UIElement. Inherited from UIElement.
CanRedo Indicates whether there are actions that occurred recently within the control that can be reapplied. This is a dependency property.
CanUndo Indicates whether the user can undo the previous operation. This is a dependency property.
CanvasSizeMode Specifies whether the Canvas size is automatically changed to fit the current shapes layout. This is a dependency property.
CircularLayoutNodesSpacing Specifies the spacing between the diagram items to which the circular layout is applied. This is a dependency property.
CircularLayoutOrder Specifies how the circular layout algorithm arranges shapes.
CircularLayoutStartAngle Specifies the start angle in degrees in the counterclockwise direction. This is a dependency property.
Clip Gets or sets the geometry used to define the outline of the contents of an element. This is a dependency property. Inherited from UIElement.
ClipToBounds Gets or sets a value indicating whether to clip the content of this element (or content coming from the child elements of this element) to fit into the size of the containing element. This is a dependency property. Inherited from UIElement.
CommandBindings Gets a collection of CommandBinding objects associated with this element. A CommandBinding enables command handling for this element, and declares the linkage between a command, its events, and the handlers attached by this element. Inherited from UIElement.
Commands Provides access to the set of available diagram commands.
ConnectorsSeparationMode Specifies whether to automatically split the overlapping right-angle connectors. This is a dependency property.
ConnectorTool Specifies the tool that is used when the end-user selects the Connector tool in the Ribbon. This is a dependency property.
ContextMenu Gets or sets the context menu element that should appear whenever the context menu is requested through user interface (UI) from within this element. Inherited from FrameworkElement.
Cursor Gets or sets the cursor that displays when the mouse pointer is over this element. Inherited from FrameworkElement.
DataContext Gets or sets the data context for an element when it participates in data binding. Inherited from FrameworkElement.
DefaultStyleKey protected Gets or sets the key to use to reference the style for this control, when theme styles are used or defined. Inherited from FrameworkElement.
DependencyObjectType Gets the DependencyObjectType that wraps the CLR type of this instance. Inherited from DependencyObject.
DesiredSize Gets the size that this element computed during the measure pass of the layout process. Inherited from UIElement.
DiagramPageBackgroundTemplate Gets or sets the template that specifies the background of a page. This is a dependency property.
DiagramPageBackgroundTemplateSelector Gets or sets an object that chooses a drawing page background template based on custom logic. This is a dependency property.
Dispatcher Gets the Dispatcher this DispatcherObject is associated with. Inherited from DispatcherObject.
DocumentSource Specifies a document supplier for the DiagramControl. This is a dependency property.
Effect Gets or sets the bitmap effect to apply to the UIElement. This is a dependency property. Inherited from UIElement.
EllipseTool Specifies the tool that is used when the end-user selects the Ellipse tool in the Ribbon. This is a dependency property.
EnableProportionalResizing Gets or sets whether to maintain the aspect ratio when resizing diagram items. This is a dependency property.
ExportDPI Specifies the resolution in which the diagram is exported. This is a dependency property.
ExportMargin Gets or sets the margin between diagram contents and page bounds when exporting the diagram. This is a dependency property.
ExportScale Specifies the scale factor to apply to the diagram that is being exported.
FileDialogFilter Gets or sets the filter string that determines which files are displayed in the ‘Open File’ and ‘Save File As’ dialog boxes. This is a dependency property.
FitToDrawingMargin Gets or sets the margin between diagram contents and page bounds when calling the DiagramControl.FitToDrawing and DiagramControl.FitToItems methods. This is a dependency property.
FlowDirection Gets or sets the direction that text and other user interface (UI) elements flow within any parent element that controls their layout. Inherited from FrameworkElement.
Focusable Gets or sets a value that indicates whether the element can receive focus. This is a dependency property. Inherited from UIElement.
FocusVisualStyle Gets or sets a property that enables customization of appearance, effects, or other style characteristics that will apply to this element when it captures keyboard focus. Inherited from FrameworkElement.
FontFamily Gets or sets the font family of the control. Inherited from Control.
FontSize Gets or sets the font size. Inherited from Control.
FontStretch Gets or sets the degree to which a font is condensed or expanded on the screen. Inherited from Control.
FontStyle Gets or sets the font style. Inherited from Control.
FontWeight Gets or sets the weight or thickness of the specified font. Inherited from Control.
ForceCursor Gets or sets a value that indicates whether this FrameworkElement should force the user interface (UI) to render the cursor as declared by the Cursor property. Inherited from FrameworkElement.
Foreground Gets or sets a brush that describes the foreground color. Inherited from Control.
GlueToConnectionPointDistance Specifies the distance between the mouse pointer and a connection point at which the connector is glued to the point. This is a dependency property.
GlueToItemDistance Specifies the distance between the mouse pointer and a diagram item at which the connector is glued to the item. This is a dependency property.
GridSize Gets or sets the size of a grid’s cell. This is a dependency property.
HasAnimatedProperties Gets a value indicating whether this element has any animated properties. Inherited from UIElement.
HasChanges Gets whether the current document has been changed using DiagramControl’s UI. This is a dependency property.
HasEffectiveKeyboardFocus protected Gets a value that indicates whether the UIElement has focus. Inherited from UIElement.
Height Gets or sets the suggested height of the element. Inherited from FrameworkElement.
HexagonTool Specifies the tool that is used when the end-user selects the Hexagon tool in the Ribbon. This is a dependency property.
HorizontalAlignment Gets or sets the horizontal alignment characteristics applied to this element when it is composed within a parent element, such as a panel or items control. Inherited from FrameworkElement.
HorizontalContentAlignment Gets or sets the horizontal alignment of the control’s content. Inherited from Control.
InheritanceBehavior protected Gets or sets the scope limits for property value inheritance, resource key lookup, and RelativeSource FindAncestor lookup. Inherited from FrameworkElement.
InputBindings Gets the collection of input bindings associated with this element. Inherited from UIElement.
InputScope Gets or sets the context for input used by this FrameworkElement. Inherited from FrameworkElement.
IsArrangeValid Gets a value indicating whether the computed size and position of child elements in this element’s layout are valid. Inherited from UIElement.
IsContainerToolsVisible Gets whether the Container Tools Ribbon category is currently displayed. This is a dependency property.
IsEnabled Gets or sets a value indicating whether this element is enabled in the user interface (UI). This is a dependency property. Inherited from UIElement.
IsEnabledCore protected Gets a value that becomes the return value of IsEnabled in derived classes. Inherited from UIElement.
IsFocused Gets a value that determines whether this element has logical focus. This is a dependency property. Inherited from UIElement.
IsHitTestVisible Gets or sets a value that declares whether this element can possibly be returned as a hit test result from some portion of its rendered content. This is a dependency property. Inherited from UIElement.
IsImageToolsVisible Gets whether the Image Tools Ribbon category is currently displayed. This is a dependency property.
IsInitialized Gets a value that indicates whether this element has been initialized, either during processing by a XAML processor, or by explicitly having its EndInit() method called. Inherited from FrameworkElement.
IsInputMethodEnabled Gets a value indicating whether an input method system, such as an Input Method Editor (IME), is enabled for processing the input to this element. Inherited from UIElement.
IsKeyboardFocused Gets a value indicating whether this element has keyboard focus. This is a dependency property. Inherited from UIElement.
IsKeyboardFocusWithin Gets a value indicating whether keyboard focus is anywhere within the element or its visual tree child elements. This is a dependency property. Inherited from UIElement.
IsLoaded Gets a value that indicates whether this element has been loaded for presentation. Inherited from FrameworkElement.
IsManipulationEnabled Gets or sets a value that indicates whether manipulation events are enabled on this UIElement. Inherited from UIElement.
IsMeasureValid Gets a value indicating whether the current size returned by layout measure is valid. Inherited from UIElement.
IsMouseCaptured Gets a value indicating whether the mouse is captured to this element. This is a dependency property. Inherited from UIElement.
IsMouseCaptureWithin Gets a value that determines whether mouse capture is held by this element or by child elements in its visual tree. This is a dependency property. Inherited from UIElement.
IsMouseDirectlyOver Gets a value that indicates whether the position of the mouse pointer corresponds to hit test results, which take element compositing into account. This is a dependency property. Inherited from UIElement.
IsMouseOver Gets a value indicating whether the mouse pointer is located over this element (including child elements in the visual tree). This is a dependency property. Inherited from UIElement.
IsReadOnly Specifies whether to enable all diagram protection properties. Setting specific properties to true overrides the IsReadOnly property value.
IsSealed Gets a value that indicates whether this instance is currently sealed (read-only). Inherited from DependencyObject.
IsStylusCaptured Gets a value indicating whether the stylus is captured by this element. This is a dependency property. Inherited from UIElement.
IsStylusCaptureWithin Gets a value that determines whether stylus capture is held by this element, or an element within the element bounds and its visual tree. This is a dependency property. Inherited from UIElement.
IsStylusDirectlyOver Gets a value that indicates whether the stylus position corresponds to hit test results, which take element compositing into account. This is a dependency property. Inherited from UIElement.
IsStylusOver Gets a value indicating whether the stylus cursor is located over this element (including visual child elements). This is a dependency property. Inherited from UIElement.
IsTabStop Gets or sets a value that indicates whether a control is included in tab navigation. Inherited from Control.
IsTextEditMode Gets whether a diagram item’s text is currently being edited. This is a dependency property.
IsVisible Gets a value indicating whether this element is visible in the user interface (UI). This is a dependency property. Inherited from UIElement.
Items Provides access to the collection of diagram items displayed by the DiagramControl.
ItemTypeRegistrator static Provides access to methods used to create serializable custom diagram item types.
Landscape Specifies whether to use the longer dimension of the page size as the page width. This is a dependency property.
Language Gets or sets localization/globalization language information that applies to an element. Inherited from FrameworkElement.
LastShapeStyles Provides access to the collection of the recently used shape styles. This is a dependency property.
LayoutTransform Gets or sets a graphics transformation that should apply to this element when layout is performed. Inherited from FrameworkElement.
LineJumpPlacement Specifies which connector lines display jumps in intersections. This is a dependency property.
LineJumpSize Gets or sets the size of line jumps. This is a dependency property.
LineJumpStyle Gets or sets the line jump style for connectors. This is a dependency property.
Margin Gets or sets the outer margin of an element. Inherited from FrameworkElement.
MaxHeight Gets or sets the maximum height constraint of the element. Inherited from FrameworkElement.
MaxWidth Gets or sets the maximum width constraint of the element. Inherited from FrameworkElement.
MaxZoomFactor Specifies the maximum diagram zoom factor.
MeasureUnit Specifies the unit of measurement for the ruler displayed by the Canvas. This is a dependency property.
MindMapTreeLayoutConnectorsRouting Gets or sets whether applying the Mind-map tree layout affects connector routing. This is a dependency property.
MindMapTreeLayoutHierarchyAlignment Specifies the mind-map tree layout vertical alignment relative to the layout direction axis. This is a dependency property.
MindMapTreeLayoutHierarchySpacing Specifies the distance between layers of hierarchy. This is a dependency property.
MindMapTreeLayoutNodeAlignment Specifies the mind-map tree layout horizontal alignment relative to the layout direction axis. This is a dependency property.
MindMapTreeLayoutNodeSpacing Specifies the distance between shapes on the same level of hierarchy. This is a dependency property.
MindMapTreeLayoutOrientation Specifies the mind-map tree orientation. This is a dependency property.
MindMapTreeLayoutRootSpacing Specifies the distance between the root shape and its immediate children. This is a dependency property.
MindMapTreeLayoutSplitMode Specifies which diagram items are realigned when performing automatic relayout. This is a dependency property.
MindMapTreeLayoutSubTreeAlignment Gets or sets the alignment of the mind-map‘s subtrees. This is a dependency property.
MindMapTreeLayoutSubTreeDefaultSplitMode Specifies the criteria for arranging the mind map branches. This is a dependency property.
MindMapTreeLayoutSubTreeSelector Gets or sets the IMindMapSubTreeSelector object that allows you to customize the positioning of subtrees. This is a dependency property.
MinDragDistance Specifies the number of pixels the cursor must move with the mouse down before dragging begins. This is a dependency property.
MinHeight Gets or sets the minimum height constraint of the element. Inherited from FrameworkElement.
MinWidth Gets or sets the minimum width constraint of the element. Inherited from FrameworkElement.
MinZoomFactor Specifies the minimum diagram zoom factor.
Name Gets or sets the identifying name of the element. The name provides a reference so that code-behind, such as event handler code, can refer to a markup element after it is constructed during processing by a XAML processor. Inherited from FrameworkElement.
Opacity Gets or sets the opacity factor applied to the entire UIElement when it is rendered in the user interface (UI). This is a dependency property. Inherited from UIElement.
OpacityMask Gets or sets an opacity mask, as a Brush implementation that is applied to any alpha-channel masking for the rendered content of this element. This is a dependency property. Inherited from UIElement.
OrgChartLayoutConnectorsRouting Gets or sets whether applying the Org chart layout affects connector routing. This is a dependency property.
OrgChartLayoutDirection Specifies the direction of the org chart layout’s tree section. This is a dependency property.
OrgChartLayoutHierarchySpacing Specifies the distance between layers of hierarchy. This is a dependency property.
OrgChartLayoutNodeSpacing Specifies the distance between shapes on the same level of hierarchy. This is a dependency property.
OrgChartLayoutSplitMode Specifies which diagram items are rearranged by the org chart layout algorithm. This is a dependency property.
OrgChartLayoutTipOverDirection Specifies the direction of the org chart layout’s tip-over section. This is a dependency property.
OrgChartLayoutTipOverOffsetMode Specifies whether to offset child shapes from the center or the edge of the parent shape in the org chart layout’s tip-over section. This is a dependency property.
OrgChartLayoutTreeAlignment Specifies the alignment of the org chart layout’s tree section. This is a dependency property.
OrgChartLayoutTreeLevelCount Specifies the number of levels of hierarchy in the org chart layout’s tree section. This is a dependency property.
OverridesDefaultStyle Gets or sets a value that indicates whether this element incorporates style properties from theme styles. Inherited from FrameworkElement.
Padding Gets or sets the padding inside a control. Inherited from Control.
PageMargin Gets or sets the amount of space between the page’s borders and its contents. This is a dependency property.
PageSize Gets or sets the initial diagram canvas size (the tile size). This is a dependency property.
PanTool Specifies the tool that is used when an end-user selects the Pan tool from the Ribbon. This is a dependency property.
PaperKind Allows you to use one of the standard paper sizes as the page size. This is a dependency property.
Parent Gets the logical parent element of this element. Inherited from FrameworkElement.
PdfExportOptions Gets or sets the options that define how a document is exported to PDF format.
PersistId Gets a value that uniquely identifies this element. Inherited from UIElement.
PlatformCache static This property supports the internal infrastructure and is not intended to be used directly from your code.
PointerTool Specifies the tool that is used when the end-user selects the Pointer tool in the Ribbon. This is a dependency property.
PointerToolDragMode Gets or sets whether dragging the pointer tool pans the canvas or draws a selection rectangle. This is a dependency property.
PrimarySelection

Gets the object that is currently the primary selected diagram item. This is a dependency property.

PrintExportMode Specifies whether to preserve the diagram content placement relative to the document boundaries when printing or exporting the diagram. This is a dependency property.
PrintPageBackgroundTemplate Gets or sets the template that specifies the background of a printed page. This is a dependency property.
PrintPageBackgroundTemplateSelector Gets or sets an object that chooses a printed page background template based on custom logic. This is a dependency property.
PropertiesPanelVisibility Gets or sets the Properties Panel display mode. This is a dependency property.
RectangleTool Specifies the tool that is used when the end-user selects the Rectangle tool in the Ribbon. This is a dependency property.
RenderSize Gets (or sets) the final render size of this element. Inherited from UIElement.
RenderTransform Gets or sets transform information that affects the rendering position of this element. This is a dependency property. Inherited from UIElement.
RenderTransformOrigin Gets or sets the center point of any possible render transform declared by RenderTransform, relative to the bounds of the element. This is a dependency property. Inherited from UIElement.
ResizingMode Gets or sets how diagram items are resized. This is a dependency property.
Resources Gets or sets the locally-defined resource dictionary. Inherited from FrameworkElement.
RightTriangleTool Specifies the tool that is used when the end-user selects the Right Triangle tool in the Ribbon. This is a dependency property.
RootToolsModel For internal use.
ScrollMargin Gets or sets the outer indents of the diagram. This is a dependency property.
ScrollMode Specifies the current scroll mode. This is a dependency property.
SelectedItems Provides access to the collection of the currently selected diagram items.
SelectedStencils Specifies the selected shape groups. This is a dependency property.
SelectionMode Specifies the selection mode for diagram items. This is a dependency property.
SelectionModel Gets an object that represents the currently selected diagram item.
SelectionToolsModel For internal use.
SelectPartiallyCoveredItems Specifies whether to select items that are only partially covered with the selection rectangle. This is a dependency property.
Shortcuts Provides access to shortcuts used by the DiagramDesignerControl.
ShowGrid Specifies whether to display grid lines on the Canvas. This is a dependency property.
ShowPageBreaks Gets or sets whether to display page breaks. This is a dependency property.
ShowPanAndZoomPanel Specifies whether to show the Pan and Zoom Panel. This is a dependency property.
ShowQuickShapes Gets or sets whether to show the Quick Shapes category in the Shapes Panel. This is a dependency property.
ShowRulers Specifies whether to display rulers on the Canvas. This is a dependency property.
ShowSelectionRectangle Gets or sets whether to show the selection rectangle. This is a dependency property.
SnapsToDevicePixels Gets or sets a value that determines whether rendering for this element should use device-specific pixel settings during rendering. This is a dependency property. Inherited from UIElement.
SnapToGrid Specifies whether to pull shapes to the grid lines whenever an end-user drags them around the Canvas. This is a dependency property.
SnapToItems Specifies whether to pull shapes to other shapes whenever an end-user drags them around the Canvas. This is a dependency property.
SnapToItemsDistance Specifies the minimum distance between alignment guides of a shape being dragged and another shape’s alignment guides at which the “snap-to-items” feature is activated. If the dragged shape is dropped at this position, it will be aligned with the second shape. This is a dependency property.
Stencils

Provides access to the collection of available stencils. This is a dependency property.

Style Gets or sets the style used by this element when it is rendered. Inherited from FrameworkElement.
StylusPlugIns protected Gets a collection of all stylus plug-in (customization) objects associated with this element. Inherited from UIElement.
SugiyamaLayoutColumnsAlignment Gets or sets the alignment of the diagram depending on its direction. This is a dependency property.
SugiyamaLayoutColumnSpacing Specifies the distance between shapes on the same level of hierarchy. This is a dependency property.
SugiyamaLayoutConnectorsRouting Gets or sets whether applying the Sugiyama layout affects connector routing. This is a dependency property.
SugiyamaLayoutDirection Specifies the flow direction for the automatic layout.
SugiyamaLayoutLayersAlignment Gets or sets the alignment of the diagram depending on its direction. This is a dependency property.
SugiyamaLayoutLayerSpacing Specifies the distance between layers of hierarchy. This is a dependency property.
TabIndex Gets or sets a value that determines the order in which elements receive focus when the user navigates through controls by using the TAB key. Inherited from Control.
Tag Gets or sets an arbitrary object value that can be used to store custom information about this element. Inherited from FrameworkElement.
Template Gets or sets a control template. Inherited from Control.
TemplatedParent Gets a reference to the template parent of this element. This property is not relevant if the element was not created through a template. Inherited from FrameworkElement.
Theme Specifies the current theme. This is a dependency property.
TipOverTreeLayoutConnectorsRouting Gets or sets whether applying the Tip-over tree layout affects connector routing. This is a dependency property.
TipOverTreeLayoutDirection Specifies the tip-over layout direction. This is a dependency property.
TipOverTreeLayoutHorizontalAlignment Gets or sets the horizontal alignment of the tip-over diagram. This is a dependency property.
TipOverTreeLayoutOffset Gets or sets the offset used by the tip-over layout. This is a dependency property.
TipOverTreeLayoutOffsetMode Specifies whether to offset child shapes from the center or the edge of the parent shape. This is a dependency property.
TipOverTreeLayoutSplitMode Specifies which diagram items are realigned when performing automatic relayout. This is a dependency property.
TipOverTreeLayoutVerticalAlignment Gets or sets the vertical alignment of the tip-over diagram. This is a dependency property.
TipOverTreeLayoutVerticalSpacing Specifies the distance between layers of hierarchy. This is a dependency property.
Title The document title to which the window title can be bound. This is a dependency property.
ToolboxVisibility Gets or sets the Shapes Panel display mode. This is a dependency property.
ToolTip Gets or sets the tool-tip object that is displayed for this element in the user interface (UI). Inherited from FrameworkElement.
TouchesCaptured Gets all touch devices that are captured to this element. Inherited from UIElement.
TouchesCapturedWithin Gets all touch devices that are captured to this element or any child elements in its visual tree. Inherited from UIElement.
TouchesDirectlyOver Gets all touch devices that are over this element. Inherited from UIElement.
TouchesOver Gets all touch devices that are over this element or any child elements in its visual tree. Inherited from UIElement.
TreeLayoutAlignment Specifies the tree layout alignment. This is a dependency property.
TreeLayoutBreadthAlignment Gets or sets the tree diagram horizontal alignment relative to the layout direction axis. This is a dependency property.
TreeLayoutConnectorsRouting Gets or sets whether applying the Tree layout affects connector routing. This is a dependency property.
TreeLayoutDepthAlignment Gets or sets the tree diagram vertical alignment relative to the layout direction axis. This is a dependency property.
TreeLayoutDirection Gets or sets the layout direction. This is a dependency property.
TreeLayoutHorizontalSpacing Specifies the distance between shapes on the same level of hierarchy. This is a dependency property.
TreeLayoutIsCompact

Specifies whether the automatic tree layout arranges shapes minimizing the space between them. This is a dependency property.

TreeLayoutSplitMode Specifies which diagram items are realigned when performing automatic relayout. This is a dependency property.
TreeLayoutVerticalSpacing Specifies the distance between layers of hierarchy. This is a dependency property.
Triggers Gets the collection of triggers established directly on this element, or in child elements. Inherited from FrameworkElement.
Uid Gets or sets the unique identifier (for localization) for this element. This is a dependency property. Inherited from UIElement.
UndoManager Provides access to an object that manages the undo and redo operations in the DiagramControl.
UseLayoutRounding Gets or sets a value that indicates whether layout rounding should be applied to this element’s size and position during layout. Inherited from FrameworkElement.
VerticalAlignment Gets or sets the vertical alignment characteristics applied to this element when it is composed within a parent element such as a panel or items control. Inherited from FrameworkElement.
VerticalContentAlignment Gets or sets the vertical alignment of the control’s content. Inherited from Control.
Visibility Gets or sets the user interface (UI) visibility of this element. This is a dependency property. Inherited from UIElement.
VisualBitmapEffect protected Gets or sets the BitmapEffect value for the Visual. Inherited from Visual.
VisualBitmapEffectInput protected Gets or sets the BitmapEffectInput value for the Visual. Inherited from Visual.
VisualBitmapScalingMode protected Gets or sets the BitmapScalingMode for the Visual. Inherited from Visual.
VisualCacheMode protected Gets or sets a cached representation of the Visual. Inherited from Visual.
VisualChildrenCount protected Gets the number of visual child elements within this element. Inherited from FrameworkElement.
VisualClearTypeHint protected Gets or sets the ClearTypeHint that determines how ClearType is rendered in the Visual. Inherited from Visual.
VisualClip protected Gets or sets the clip region of the Visual as a Geometry value. Inherited from Visual.
VisualEdgeMode protected Gets or sets the edge mode of the Visual as an EdgeMode value. Inherited from Visual.
VisualEffect protected Gets or sets the bitmap effect to apply to the Visual. Inherited from Visual.
VisualOffset protected Gets or sets the offset value of the visual object. Inherited from Visual.
VisualOpacity protected Gets or sets the opacity of the Visual. Inherited from Visual.
VisualOpacityMask protected Gets or sets the Brush value that represents the opacity mask of the Visual. Inherited from Visual.
VisualParent protected Gets the visual tree parent of the visual object. Inherited from Visual.
VisualScrollableAreaClip protected Gets or sets a clipped scrollable area for the Visual. Inherited from Visual.
VisualTextHintingMode protected Gets or sets the TextHintingMode of the Visual. Inherited from Visual.
VisualTextRenderingMode protected Gets or sets the TextRenderingMode of the Visual. Inherited from Visual.
VisualTransform protected Gets or sets the Transform value for the Visual. Inherited from Visual.
VisualXSnappingGuidelines protected Gets or sets the x-coordinate (vertical) guideline collection. Inherited from Visual.
VisualYSnappingGuidelines protected Gets or sets the y-coordinate (horizontal) guideline collection. Inherited from Visual.
Width Gets or sets the width of the element. Inherited from FrameworkElement.
ZoomFactor Specifies the diagram zoom factor. This is a dependency property.

Methods

Name Description
AddHandler(RoutedEvent, Delegate, Boolean) Adds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element. Specify handledEventsToo as true to have the provided handler be invoked for routed event that had already been marked as handled by another element along the event route. Inherited from UIElement.
AddHandler(RoutedEvent, Delegate) Adds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element. Inherited from UIElement.
AddLogicalChild(Object) protected Adds the provided object to the logical tree of this element. Inherited from FrameworkElement.
AddToEventRoute(EventRoute, RoutedEventArgs) Adds handlers to the specified EventRoute for the current UIElement event handler collection. Inherited from UIElement.
AddVisualChild(Visual) protected Defines the parent-child relationship between two visuals. Inherited from Visual.
AlignCanvas(Nullable<HorizontalAlignment>, Nullable<VerticalAlignment>) Applies the specified alignment to the canvas.
AlignPage(Nullable<HorizontalAlignment>, Nullable<VerticalAlignment>) Scrolls the viewport according to the specified horizontal and vertical alignment.
ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior) Applies an animation to a specified dependency property on this element, with the ability to specify what happens if the property already has a running animation. Inherited from UIElement.
ApplyAnimationClock(DependencyProperty, AnimationClock) Applies an animation to a specified dependency property on this element. Any existing animations are stopped and replaced with the new animation. Inherited from UIElement.
ApplyCircularLayout(CircularLayoutSettings, IEnumerable<DiagramItem>) Applies the circular layout algorithm.
ApplyCircularLayout(IEnumerable<DiagramItem>) Applies the circular layout algorithm.
ApplyMindMapTreeLayout(MindMapTreeLayoutSettings, SplitToConnectedComponentsMode, IEnumerable<DiagramItem>) Applies the mind-map tree layout algorithm.
ApplyMindMapTreeLayout(OrientationKind, IEnumerable<DiagramItem>, Nullable<SplitToConnectedComponentsMode>) Applies the mind-map tree layout algorithm.
ApplyMindMapTreeLayout(IEnumerable<DiagramItem>, Nullable<SplitToConnectedComponentsMode>) Applies the mind-map tree layout algorithm.
ApplyMindMapTreeLayoutForSubordinates(IEnumerable<DiagramItem>, MindMapTreeLayoutSettings) Applies the mind-map tree layout algorithm to the subordinates of the specified items.
ApplyMindMapTreeLayoutForSubordinates(IEnumerable<DiagramItem>) Applies the mind-map tree layout algorithm to the subordinates of the specified items.
ApplyOrgChartLayout(OrgChartLayoutSettings, IEnumerable<DiagramItem>, Nullable<SplitToConnectedComponentsMode>) Applies the org chart layout algorithm.
ApplyOrgChartLayout(IEnumerable<DiagramItem>, Nullable<SplitToConnectedComponentsMode>) Applies the org chart layout algorithm.
ApplySugiyamaLayout(Direction, IEnumerable<DiagramItem>) Applies the Sugiyama (layered) layout algorithm.
ApplySugiyamaLayout(LayoutDirection, IEnumerable<DiagramItem>) Applies the Sugiyama (layered) layout algorithm.
ApplySugiyamaLayout(SugiyamaLayoutSettings, IEnumerable<DiagramItem>) Applies the Sugiyama (layered) layout algorithm.
ApplySugiyamaLayout(IEnumerable<DiagramItem>) Applies the Sugiyama (layered) layout algorithm.
ApplyTemplate() Builds the current template’s visual tree if necessary, and returns a value that indicates whether the visual tree was rebuilt by this call. Inherited from FrameworkElement.
ApplyTipOverTreeLayout(TipOverDirection, IEnumerable<DiagramItem>, Nullable<SplitToConnectedComponentsMode>) Applies the tip-over tree layout algorithm.
ApplyTipOverTreeLayout(TipOverTreeLayoutSettings, SplitToConnectedComponentsMode, IEnumerable<DiagramItem>) Applies the tip-over tree layout algorithm.
ApplyTipOverTreeLayout(IEnumerable<DiagramItem>, Nullable<SplitToConnectedComponentsMode>) Applies the tip-over tree layout algorithm.
ApplyTipOverTreeLayoutForSubordinates(IEnumerable<DiagramItem>, TipOverTreeLayoutSettings) Applies the Tip-Over Tree layout to the subordinates of the specified diagram items.
ApplyTipOverTreeLayoutForSubordinates(IEnumerable<DiagramItem>) Applies the Tip-Over Tree layout to the subordinates of the specified diagram items.
ApplyTreeLayout(Direction, IEnumerable<DiagramItem>) Applies the tree layout algorithm.
ApplyTreeLayout(LayoutDirection, IEnumerable<DiagramItem>, Nullable<SplitToConnectedComponentsMode>) Applies the tree layout algorithm.
ApplyTreeLayout(TreeLayoutSettings, SplitToConnectedComponentsMode, IEnumerable<DiagramItem>) Applies the tree layout algorithm.
ApplyTreeLayout(IEnumerable<DiagramItem>, Nullable<SplitToConnectedComponentsMode>) Applies the tree layout algorithm.
ApplyTreeLayoutForSubordinates(IEnumerable<DiagramItem>, TreeLayoutSettings) Applies the Tree layout to the subordinates of the specified diagram items.
ApplyTreeLayoutForSubordinates(IEnumerable<DiagramItem>) Applies the Tree layout to the subordinates of the specified diagram items.
Arrange(Rect) Positions child elements and determines a size for a UIElement. Parent elements call this method from their ArrangeCore(Rect) implementation (or a WPF framework-level equivalent) to form a recursive layout update. This method constitutes the second pass of a layout update. Inherited from UIElement.
ArrangeCore(Rect) protected Implements ArrangeCore(Rect) (defined as virtual in UIElement) and seals the implementation. Inherited from FrameworkElement.
ArrangeOverride(Size) protected Called to arrange and size the content of a Control object. Inherited from Control.
AttachToWindow() Binds the window’s Title property to the name of the current document and subscribes the diagram to the window’s Closing event. When the end-user attempts to close the window with the diagram that contains unsaved changes, a dialog window is invoked prompting the user to save changes.
BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior) Starts a specific animation for a specified animated property on this element, with the option of specifying what happens if the property already has a running animation. Inherited from UIElement.
BeginAnimation(DependencyProperty, AnimationTimeline) Starts an animation for a specified animated property on this element. Inherited from UIElement.
BeginInit() Starts the runtime initialization.
BeginStoryboard(Storyboard, HandoffBehavior, Boolean) Begins the sequence of actions contained in the provided storyboard, with specified state for control of the animation after it is started. Inherited from FrameworkElement.
BeginStoryboard(Storyboard, HandoffBehavior) Begins the sequence of actions contained in the provided storyboard, with options specified for what should happen if the property is already animated. Inherited from FrameworkElement.
BeginStoryboard(Storyboard) Begins the sequence of actions that are contained in the provided storyboard. Inherited from FrameworkElement.
BringIntoView() Attempts to bring this element into view, within any scrollable regions it is contained within. Inherited from FrameworkElement.
BringIntoView(Rect) Attempts to bring the provided region size of this element into view, within any scrollable regions it is contained within. Inherited from FrameworkElement.
BringItemsForward(IEnumerable<DiagramItem>) Brings the specified diagram items forward one step in the stack.
BringItemsIntoView(IEnumerable<DiagramItem>, BringIntoViewMode) Scrolls the diagram and changes its zoom factor to bring the specified diagram items into view.
BringItemsToFront(IEnumerable<DiagramItem>) Brings the specified diagram items to the front of the stack.
BringSelectedItemsForward() Brings the selected diagram items forward one step in the stack.
BringSelectedItemsToFront() Brings the specified diagram items to the front of the stack.
BringSelectionIntoView(BringIntoViewMode) Scrolls the diagram and changes its zoom factor to bring the selected diagram items into view.
CalcHitInfo(Func<FrameworkElement, Point>) Returns information on an object located at the specified position.
CalcHitInfo(Point) Returns information on an object located at the specified position.
CalcHitItem(Func<FrameworkElement, Point>) Returns the diagram item located at the specified position.
CalcHitItem(Point) Returns the diagram item located at the specified position.
CaptureMouse() Attempts to force capture of the mouse to this element. Inherited from UIElement.
CaptureStylus() Attempts to force capture of the stylus to this element. Inherited from UIElement.
CaptureTouch(TouchDevice) Attempts to force capture of a touch to this element. Inherited from UIElement.
ChangeConnectorsType(ConnectorType, IEnumerable<DiagramConnector>) Changes the type of the specified connectors.
ChangeSelectedConnectorsType(ConnectorType) Specifies the connector type for the currently selected connectors.
CheckAccess() Determines whether the calling thread has access to this DispatcherObject. Inherited from DispatcherObject.
ClearSelection() Unselects any selected shapes and connectors.
ClearValue(DependencyProperty) Clears the local value of a property. The property to be cleared is specified by a DependencyProperty identifier. Inherited from DependencyObject.
ClearValue(DependencyPropertyKey) Clears the local value of a read-only property. The property to be cleared is specified by a DependencyPropertyKey. Inherited from DependencyObject.
CoerceValue(DependencyProperty) Coerces the value of the specified dependency property. This is accomplished by invoking any CoerceValueCallback function specified in property metadata for the dependency property as it exists on the calling DependencyObject. Inherited from DependencyObject.
CopySelectedItems() Copies the currently selected diagram items to the clipboard.
CreateAdorner(FrameworkElement) This member supports the internal infrastructure and is not intended to be used directly from your code.
CreateAdornerEx<TObject, TInterface>(TObject) This member supports the internal infrastructure and is not intended to be used directly from your code.
CreateBackgroundAdorner(FrameworkElement) This member supports the internal infrastructure and is not intended to be used directly from your code.
CreateHRulerAdorner(FrameworkElement) This member supports the internal infrastructure and is not intended to be used directly from your code.
CreateVRulerAdorner(FrameworkElement) This member supports the internal infrastructure and is not intended to be used directly from your code.
CutSelectedItems() Moves the currently selected diagram items to the clipboard.
DeleteItems(IEnumerable<DiagramItem>) Removes the specified diagram items.
DeleteSelectedItems() Removes the currently selected diagram items.
DetachFromWindow() Removes changes made by the DiagramControl.AttachToWindow method.
EndInit() Ends the runtime initialization.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether a provided DependencyObject is equivalent to the current DependencyObject. Inherited from DependencyObject.
ExportDiagram(DiagramExportFormat) Invokes the Export dialog window.
ExportDiagram(Stream, DiagramExportFormat, Nullable<Double>, Nullable<Double>) Exports the diagram to the specified stream.
ExportDiagram(Stream, DiagramExportFormat, Rect, Nullable<Double>, Nullable<Double>)
ExportDiagram(String, Double, Double) Exports the diagram in the specified format to a file.
ExportDiagram(String, Rect, Double, Double)
ExportDiagram(String) Exports the diagram in the specified format to a file.
ExportToPdf(PdfExportOptions, Boolean) Exports the diagram to a single-page PDF file specified by the user in the invoked dialog window.
ExportToPdf(Stream, Nullable<Rect>, PdfExportOptions) Exports the diagram to a single-page PDF document which is sent to the specified stream.
FindCommonVisualAncestor(DependencyObject) Returns the common ancestor of two visual objects. Inherited from Visual.
FindName(String) Finds an element that has the provided identifier name. Inherited from FrameworkElement.
FindResource(Object) Searches for a resource with the specified key, and throws an exception if the requested resource is not found. Inherited from FrameworkElement.
FitToDrawing() Changes the page size to fit the diagram contents.
FitToItems(IEnumerable<DiagramItem>) Scrolls the diagram and changes its zoom factor so that the viewport is sufficiently large to display the specified items.
FitToPage() Sets the diagram zoom factor value to fit all pages with content within the viewport.
FitToWidth() Sets the diagram zoom factor value to fit the entire diagram width.
Focus() Attempts to set focus to this element. Inherited from UIElement.
GetAnimationBaseValue(DependencyProperty) Returns the base property value for the specified property on this element, disregarding any possible animated value from a running or stopped animation. Inherited from UIElement.
GetBindingExpression(DependencyProperty) Returns the BindingExpression that represents the binding on the specified property. Inherited from FrameworkElement.
GetDiagram(DependencyObject) static Gets the value of the DiagramControl.Diagram attached property from a given object.
GetDrawingContext(DependencyObject) static Gets the value of the DiagramControl.DrawingContext attached property from a given object.
GetFlowDirection(DependencyObject) static Gets the value of the FlowDirection attached property for the specified DependencyObject. Inherited from FrameworkElement.
GetHashCode() Gets a hash code for this DependencyObject. Inherited from DependencyObject.
GetLayoutClip(Size) protected Returns a geometry for a clipping mask. The mask applies if the layout system attempts to arrange an element that is larger than the available display space. Inherited from FrameworkElement.
GetLocalValueEnumerator() Creates a specialized enumerator for determining which dependency properties have locally set values on this DependencyObject. Inherited from DependencyObject.
GetTemplateChild(String) protected Returns the named element in the visual tree of an instantiated ControlTemplate. Inherited from FrameworkElement.
GetType() Gets the Type of the current instance. Inherited from Object.
GetUIParentCore() protected Returns an alternative logical parent for this element if there is no visual parent. Inherited from FrameworkElement.
GetValue(DependencyProperty) Returns the current effective value of a dependency property on this instance of a DependencyObject. Inherited from DependencyObject.
GetViewportBounds()
GetVisualChild(Int32) protected Overrides GetVisualChild(Int32), and returns a child at the specified index from a collection of child elements. Inherited from FrameworkElement.
HitTestCore(GeometryHitTestParameters) protected Implements HitTestCore(GeometryHitTestParameters) to supply base element hit testing behavior (returning GeometryHitTestResult). Inherited from UIElement.
HitTestCore(PointHitTestParameters) protected Implements HitTestCore(PointHitTestParameters) to supply base element hit testing behavior (returning HitTestResult). Inherited from UIElement.
InputHitTest(Point) Returns the input element within the current element that is at the specified coordinates, relative to the current element’s origin. Inherited from UIElement.
InsertImage() Invokes the Insert Picture dialog that allows the end-user to add an image item to the diagram.
InvalidateArrange() Invalidates the arrange state (layout) for the element. After the invalidation, the element will have its layout updated, which will occur asynchronously unless subsequently forced by UpdateLayout(). Inherited from UIElement.
InvalidateMeasure() Invalidates the measurement state (layout) for the element. Inherited from UIElement.
InvalidateProperty(DependencyProperty) Re-evaluates the effective value for the specified dependency property. Inherited from DependencyObject.
InvalidateVisual() Invalidates the rendering of the element, and forces a complete new layout pass. OnRender(DrawingContext) is called after the layout cycle is completed. Inherited from UIElement.
IsAncestorOf(DependencyObject) Determines whether the visual object is an ancestor of the descendant visual object. Inherited from Visual.
IsDescendantOf(DependencyObject) Determines whether the visual object is a descendant of the ancestor visual object. Inherited from Visual.
LoadDocument(Stream) Loads a diagram document from a stream.
LoadDocument(String) Loads a diagram from the specified file.
LoadImage() Invokes the Insert Picture dialog that allows the end-user to to change the selected image item.
Measure(Size) Updates the DesiredSize of a UIElement. Parent elements call this method from their own MeasureCore(Size) implementations to form a recursive layout update. Calling this method constitutes the first pass (the “Measure” pass) of a layout update. Inherited from UIElement.
MeasureCore(Size) protected Implements basic measure-pass layout system behavior for FrameworkElement. Inherited from FrameworkElement.
MeasureOverride(Size) protected Called to remeasure a control. Inherited from Control.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
MoveFocus(TraversalRequest) Moves the keyboard focus away from this element and to another element in a provided traversal direction. Inherited from FrameworkElement.
NewDocument() Discards the current document and creates a new one.
NewFile() Closes the current file and creates a new one.
OnAccessKey(AccessKeyEventArgs) protected Provides class handling for when an access key that is meaningful for this element is invoked. Inherited from UIElement.
OnApplyTemplate() Called after the template is completely generated and attached to the visual tree.
OnChildDesiredSizeChanged(UIElement) protected Supports layout behavior when a child element is resized. Inherited from UIElement.
OnContextMenuClosing(ContextMenuEventArgs) protected Invoked whenever an unhandled ContextMenuClosing routed event reaches this class in its route. Implement this method to add class handling for this event. Inherited from FrameworkElement.
OnContextMenuOpening(ContextMenuEventArgs) protected Invoked whenever an unhandled ContextMenuOpening routed event reaches this class in its route. Implement this method to add class handling for this event. Inherited from FrameworkElement.
OnCreateAutomationPeer() protected Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure. Inherited from UIElement.
OnDpiChanged(DpiScale, DpiScale) protected Called when the DPI at which this View is rendered changes. Inherited from Visual.
OnDragEnter(DragEventArgs) protected Invoked when an unhandled DragEnter attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnDragLeave(DragEventArgs) protected Invoked when an unhandled DragLeave attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnDragOver(DragEventArgs) protected Invoked when an unhandled DragOver attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnDrop(DragEventArgs) protected Invoked when an unhandled DragEnter attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnGiveFeedback(GiveFeedbackEventArgs) protected Invoked when an unhandled GiveFeedback attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnGotFocus(RoutedEventArgs) protected Invoked whenever an unhandled GotFocus event reaches this element in its route. Inherited from FrameworkElement.
OnGotKeyboardFocus(KeyboardFocusChangedEventArgs) protected Invoked when an unhandled GotKeyboardFocus attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnGotMouseCapture(MouseEventArgs) protected Invoked when an unhandled GotMouseCapture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnGotStylusCapture(StylusEventArgs) protected Invoked when an unhandled GotStylusCapture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnGotTouchCapture(TouchEventArgs) protected Provides class handling for the GotTouchCapture routed event that occurs when a touch is captured to this element. Inherited from UIElement.
OnInitialized(EventArgs) protected Raises the Initialized event. This method is invoked whenever IsInitialized is set to true internally. Inherited from FrameworkElement.
OnIsKeyboardFocusedChanged(DependencyPropertyChangedEventArgs) protected Invoked when an unhandled IsKeyboardFocusedChanged event is raised on this element. Implement this method to add class handling for this event. Inherited from UIElement.
OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs) protected Invoked just before the IsKeyboardFocusWithinChanged event is raised by this element. Implement this method to add class handling for this event. Inherited from UIElement.
OnIsMouseCapturedChanged(DependencyPropertyChangedEventArgs) protected Invoked when an unhandled IsMouseCapturedChanged event is raised on this element. Implement this method to add class handling for this event. Inherited from UIElement.
OnIsMouseCaptureWithinChanged(DependencyPropertyChangedEventArgs) protected Invoked when an unhandled IsMouseCaptureWithinChanged event is raised on this element. Implement this method to add class handling for this event. Inherited from UIElement.
OnIsMouseDirectlyOverChanged(DependencyPropertyChangedEventArgs) protected Invoked when an unhandled IsMouseDirectlyOverChanged event is raised on this element. Implement this method to add class handling for this event. Inherited from UIElement.
OnIsStylusCapturedChanged(DependencyPropertyChangedEventArgs) protected Invoked when an unhandled IsStylusCapturedChanged event is raised on this element. Implement this method to add class handling for this event. Inherited from UIElement.
OnIsStylusCaptureWithinChanged(DependencyPropertyChangedEventArgs) protected Invoked when an unhandled IsStylusCaptureWithinChanged event is raised on this element. Implement this method to add class handling for this event. Inherited from UIElement.
OnIsStylusDirectlyOverChanged(DependencyPropertyChangedEventArgs) protected Invoked when an unhandled IsStylusDirectlyOverChanged event is raised on this element. Implement this method to add class handling for this event. Inherited from UIElement.
OnKeyDown(KeyEventArgs) protected Invoked when an unhandled KeyDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnKeyUp(KeyEventArgs) protected Invoked when an unhandled KeyUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnLostFocus(RoutedEventArgs) protected Raises the LostFocus routed event by using the event data that is provided. Inherited from UIElement.
OnLostKeyboardFocus(KeyboardFocusChangedEventArgs) protected Invoked when an unhandled LostKeyboardFocus attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnLostMouseCapture(MouseEventArgs) protected Invoked when an unhandled LostMouseCapture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnLostStylusCapture(StylusEventArgs) protected Invoked when an unhandled LostStylusCapture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnLostTouchCapture(TouchEventArgs) protected Provides class handling for the LostTouchCapture routed event that occurs when this element loses a touch capture. Inherited from UIElement.
OnManipulationBoundaryFeedback(ManipulationBoundaryFeedbackEventArgs) protected Called when the ManipulationBoundaryFeedback event occurs. Inherited from UIElement.
OnManipulationCompleted(ManipulationCompletedEventArgs) protected Called when the ManipulationCompleted event occurs. Inherited from UIElement.
OnManipulationDelta(ManipulationDeltaEventArgs) protected Called when the ManipulationDelta event occurs. Inherited from UIElement.
OnManipulationInertiaStarting(ManipulationInertiaStartingEventArgs) protected Called when the ManipulationInertiaStarting event occurs. Inherited from UIElement.
OnManipulationStarted(ManipulationStartedEventArgs) protected Called when the ManipulationStarted event occurs. Inherited from UIElement.
OnManipulationStarting(ManipulationStartingEventArgs) protected Provides class handling for the ManipulationStarting routed event that occurs when the manipulation processor is first created. Inherited from UIElement.
OnMouseDoubleClick(MouseButtonEventArgs) protected Raises the MouseDoubleClick routed event. Inherited from Control.
OnMouseDown(MouseButtonEventArgs) protected Invoked when an unhandled MouseDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnMouseEnter(MouseEventArgs) protected Invoked when an unhandled MouseEnter attached event is raised on this element. Implement this method to add class handling for this event. Inherited from UIElement.
OnMouseLeave(MouseEventArgs) protected Invoked when an unhandled MouseLeave attached event is raised on this element. Implement this method to add class handling for this event. Inherited from UIElement.
OnMouseLeftButtonDown(MouseButtonEventArgs) protected Invoked when an unhandled MouseLeftButtonDown routed event is raised on this element. Implement this method to add class handling for this event. Inherited from UIElement.
OnMouseLeftButtonUp(MouseButtonEventArgs) protected Invoked when an unhandled MouseLeftButtonUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnMouseMove(MouseEventArgs) protected Invoked when an unhandled MouseMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnMouseRightButtonDown(MouseButtonEventArgs) protected Invoked when an unhandled MouseRightButtonDown routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnMouseRightButtonUp(MouseButtonEventArgs) protected Invoked when an unhandled MouseRightButtonUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnMouseUp(MouseButtonEventArgs) protected Invoked when an unhandled MouseUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnMouseWheel(MouseWheelEventArgs) protected Invoked when an unhandled MouseWheel attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewDragEnter(DragEventArgs) protected Invoked when an unhandled PreviewDragEnter attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewDragLeave(DragEventArgs) protected Invoked when an unhandled PreviewDragLeave attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewDragOver(DragEventArgs) protected Invoked when an unhandled PreviewDragOver attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewDrop(DragEventArgs) protected Invoked when an unhandled PreviewDrop attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewGiveFeedback(GiveFeedbackEventArgs) protected Invoked when an unhandled PreviewGiveFeedback attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewGotKeyboardFocus(KeyboardFocusChangedEventArgs) protected Invoked when an unhandled PreviewGotKeyboardFocus attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewKeyDown(KeyEventArgs) protected Invoked when an unhandled PreviewKeyDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewKeyUp(KeyEventArgs) protected Invoked when an unhandled PreviewKeyUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewLostKeyboardFocus(KeyboardFocusChangedEventArgs) protected Invoked when an unhandled PreviewKeyDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewMouseDoubleClick(MouseButtonEventArgs) protected Raises the PreviewMouseDoubleClick routed event. Inherited from Control.
OnPreviewMouseDown(MouseButtonEventArgs) protected Invoked when an unhandled PreviewMouseDown attached routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewMouseLeftButtonDown(MouseButtonEventArgs) protected Invoked when an unhandled PreviewMouseLeftButtonDown routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewMouseLeftButtonUp(MouseButtonEventArgs) protected Invoked when an unhandled PreviewMouseLeftButtonUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewMouseMove(MouseEventArgs) protected Invoked when an unhandled PreviewMouseMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewMouseRightButtonDown(MouseButtonEventArgs) protected Invoked when an unhandled PreviewMouseRightButtonDown routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewMouseRightButtonUp(MouseButtonEventArgs) protected Invoked when an unhandled PreviewMouseRightButtonUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewMouseUp(MouseButtonEventArgs) protected Invoked when an unhandled PreviewMouseUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewMouseWheel(MouseWheelEventArgs) protected Invoked when an unhandled PreviewMouseWheel attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewQueryContinueDrag(QueryContinueDragEventArgs) protected Invoked when an unhandled PreviewQueryContinueDrag attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewStylusButtonDown(StylusButtonEventArgs) protected Invoked when an unhandled PreviewStylusButtonDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewStylusButtonUp(StylusButtonEventArgs) protected Invoked when an unhandled PreviewStylusButtonUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewStylusDown(StylusDownEventArgs) protected Invoked when an unhandled PreviewStylusDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewStylusInAirMove(StylusEventArgs) protected Invoked when an unhandled PreviewStylusInAirMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewStylusInRange(StylusEventArgs) protected Invoked when an unhandled PreviewStylusInRange attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewStylusMove(StylusEventArgs) protected Invoked when an unhandled PreviewStylusMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewStylusOutOfRange(StylusEventArgs) protected Invoked when an unhandled PreviewStylusOutOfRange attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewStylusSystemGesture(StylusSystemGestureEventArgs) protected Invoked when an unhandled PreviewStylusSystemGesture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewStylusUp(StylusEventArgs) protected Invoked when an unhandled PreviewStylusUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewTextInput(TextCompositionEventArgs) protected Invoked when an unhandled PreviewTextInput attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewTouchDown(TouchEventArgs) protected Provides class handling for the PreviewTouchDown routed event that occurs when a touch presses this element. Inherited from UIElement.
OnPreviewTouchMove(TouchEventArgs) protected Provides class handling for the PreviewTouchMove routed event that occurs when a touch moves while inside this element. Inherited from UIElement.
OnPreviewTouchUp(TouchEventArgs) protected Provides class handling for the PreviewTouchUp routed event that occurs when a touch is released inside this element. Inherited from UIElement.
OnQueryContinueDrag(QueryContinueDragEventArgs) protected Invoked when an unhandled QueryContinueDrag attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnQueryCursor(QueryCursorEventArgs) protected Invoked when an unhandled QueryCursor attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnRender(DrawingContext) protected When overridden in a derived class, participates in rendering operations that are directed by the layout system. The rendering instructions for this element are not used directly when this method is invoked, and are instead preserved for later asynchronous use by layout and drawing. Inherited from UIElement.
OnRenderSizeChanged(SizeChangedInfo) protected Raises the SizeChanged event, using the specified information as part of the eventual event data. Inherited from FrameworkElement.
OnStyleChanged(Style, Style) protected Invoked when the style in use on this element changes, which will invalidate the layout. Inherited from FrameworkElement.
OnStylusButtonDown(StylusButtonEventArgs) protected Invoked when an unhandled StylusButtonDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnStylusButtonUp(StylusButtonEventArgs) protected Invoked when an unhandled StylusButtonUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnStylusDown(StylusDownEventArgs) protected Invoked when an unhandled StylusDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnStylusEnter(StylusEventArgs) protected Invoked when an unhandled StylusEnter attached event is raised by this element. Implement this method to add class handling for this event. Inherited from UIElement.
OnStylusInAirMove(StylusEventArgs) protected Invoked when an unhandled StylusInAirMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnStylusInRange(StylusEventArgs) protected Invoked when an unhandled StylusInRange attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnStylusLeave(StylusEventArgs) protected Invoked when an unhandled StylusLeave attached event is raised by this element. Implement this method to add class handling for this event. Inherited from UIElement.
OnStylusMove(StylusEventArgs) protected Invoked when an unhandled StylusMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnStylusOutOfRange(StylusEventArgs) protected Invoked when an unhandled StylusOutOfRange attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnStylusSystemGesture(StylusSystemGestureEventArgs) protected Invoked when an unhandled StylusSystemGesture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnStylusUp(StylusEventArgs) protected Invoked when an unhandled StylusUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnTemplateChanged(ControlTemplate, ControlTemplate) protected Called whenever the control’s template changes. Inherited from Control.
OnTextInput(TextCompositionEventArgs) protected Invoked when an unhandled TextInput attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnToolTipClosing(ToolTipEventArgs) protected Invoked whenever an unhandled ToolTipClosing routed event reaches this class in its route. Implement this method to add class handling for this event. Inherited from FrameworkElement.
OnToolTipOpening(ToolTipEventArgs) protected Invoked whenever the ToolTipOpening routed event reaches this class in its route. Implement this method to add class handling for this event. Inherited from FrameworkElement.
OnTouchDown(TouchEventArgs) protected Provides class handling for the TouchDown routed event that occurs when a touch presses inside this element. Inherited from UIElement.
OnTouchEnter(TouchEventArgs) protected Provides class handling for the TouchEnter routed event that occurs when a touch moves from outside to inside the bounds of this element. Inherited from UIElement.
OnTouchLeave(TouchEventArgs) protected Provides class handling for the TouchLeave routed event that occurs when a touch moves from inside to outside the bounds of this UIElement. Inherited from UIElement.
OnTouchMove(TouchEventArgs) protected Provides class handling for the TouchMove routed event that occurs when a touch moves while inside this element. Inherited from UIElement.
OnTouchUp(TouchEventArgs) protected Provides class handling for the TouchUp routed event that occurs when a touch is released inside this element. Inherited from UIElement.
OnVisualChildrenChanged(DependencyObject, DependencyObject) protected Called when the VisualCollection of the visual object is modified. Inherited from Visual.
OnVisualParentChanged(DependencyObject) protected Invoked when the parent of this element in the visual tree is changed. Overrides OnVisualParentChanged(DependencyObject). Inherited from FrameworkElement.
OpenFile() Displays the “Open File” dialog that allows an end-user to load an XML file containing a saved diagram.
ParentLayoutInvalidated(UIElement) protected Supports incremental layout implementations in specialized subclasses of FrameworkElement. ParentLayoutInvalidated(UIElement) is invoked when a child element has invalidated a property that is marked in metadata as affecting the parent’s measure or arrange passes during layout. Inherited from FrameworkElement.
Paste() Inserts the diagram items from the clipboard onto the Canvas.
PointFromScreen(Point) Converts a Point in screen coordinates into a Point that represents the current coordinate system of the Visual. Inherited from Visual.
PointToControl(Point) Converts the coordinates of a point on the canvas to the control-relative coordinates.
PointToDocument(Point) Converts the control-relative coordinates to the coordinates of a point on the canvas.
PointToScreen(Point) Converts a Point that represents the current coordinate system of the Visual into a Point in screen coordinates. Inherited from Visual.
PredictFocus(FocusNavigationDirection) Determines the next element that would receive focus relative to this element for a provided focus movement direction, but does not actually move the focus. Inherited from FrameworkElement.
Print() Invokes the Print dialog window.
Print(Double) Invokes the Print dialog window.
Print(Int32, Orientation) Invokes the Print dialog window.
PrintToPdf(PdfExportOptions, Nullable<Size>, Nullable<Thickness>, Boolean) Exports the diagram to a multi-page PDF file specified by the user in the invoked dialog window.
PrintToPdf(Double, PdfExportOptions, Nullable<Size>, Nullable<Thickness>, Boolean)
PrintToPdf(Int32, OrientationKind, PdfExportOptions, Nullable<Size>, Nullable<Thickness>, Boolean)
PrintToPdf(Stream, Double, Nullable<Rect>, PdfExportOptions, Nullable<Size>, Nullable<Thickness>) Exports the diagram to a multi-page PDF document which is sent to the specified stream.
PrintToPdf(Stream, Int32, Orientation, Nullable<Rect>, PdfExportOptions, Nullable<Size>, Nullable<Thickness>) Exports the diagram to a multi-page PDF document which is sent to the specified stream.
PrintToPdf(Stream, Nullable<Rect>, PdfExportOptions, Nullable<Size>, Nullable<Thickness>) Exports the diagram to a multi-page PDF document which is sent to the specified stream.
QuickPrint() Prints the current diagram to the default printer.
QuickPrint(Double) Prints the current diagram to the default printer.
QuickPrint(Int32, Orientation) Prints the current diagram to the default printer.
RaiseEvent(RoutedEventArgs) Raises a specific routed event. The RoutedEvent to be raised is identified within the RoutedEventArgs instance that is provided (as the RoutedEvent property of that event data). Inherited from UIElement.
ReadLocalValue(DependencyProperty) Returns the local value of a dependency property, if it exists. Inherited from DependencyObject.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RegisterName(String, Object) Provides an accessor that simplifies access to the NameScope registration method. Inherited from FrameworkElement.
RegisterRoutingStrategy(ConnectorType, DiagramRoutingStrategy) Registers a custom routing strategy for the specified connector type.
ReleaseAllTouchCaptures() Releases all captured touch devices from this element. Inherited from UIElement.
ReleaseMouseCapture() Releases the mouse capture, if this element held the capture. Inherited from UIElement.
ReleaseStylusCapture() Releases the stylus device capture, if this element held the capture. Inherited from UIElement.
ReleaseTouchCapture(TouchDevice) Attempts to release the specified touch device from this element. Inherited from UIElement.
RemoveHandler(RoutedEvent, Delegate) Removes the specified routed event handler from this element. Inherited from UIElement.
RemoveLogicalChild(Object) protected Removes the provided object from this element’s logical tree. FrameworkElement updates the affected logical tree parent pointers to keep in sync with this deletion. Inherited from FrameworkElement.
RemoveVisualChild(Visual) protected Removes the parent-child relationship between two visuals. Inherited from Visual.
ResetSelectedImages() Rolls the selected images back to their original state, reverting all resizing and rotation transformations.
SaveDocument(Stream) Saves the current diagram document to a stream.
SaveDocument(String) Saves the current diagram to the specified file.
SaveFile() Saves the diagram to a file.
SaveFileAs() Invokes the Save File As dialog window that allows the end-user to select the name and destination of the file to which to save the current diagram.
ScrollToPoint(Point, Nullable<HorizontalAlignment>, Nullable<VerticalAlignment>) Scrolls the diagram to the specified point.
SelectAll() Selects all shapes and connectors within the current document.
SelectItem(DiagramItem, ModifySelectionMode) Selects the specified diagram item.
SelectItems(DiagramItem[]) Selects the specified diagram items.
SelectItems(IEnumerable<DiagramItem>, ModifySelectionMode) Selects the specified diagram items.
SendItemsBackward(IEnumerable<DiagramItem>) Sends the specified diagram items back one step in the stack.
SendItemsToBack(IEnumerable<DiagramItem>) Sends the specified diagram items to the back of the stack.
SendSelectedItemsBackward() Sends the selected diagram items back one step in the stack.
SendSelectedItemsToBack() Sends the specified diagram items to the back of the stack.
SetBinding(DependencyProperty, String) Attaches a binding to this element, based on the provided source property name as a path qualification to the data source. Inherited from FrameworkElement.
SetBinding(DependencyProperty, BindingBase) Attaches a binding to this element, based on the provided binding object. Inherited from FrameworkElement.
SetContainersIsCollapsed(IEnumerable<DiagramContainer>, Boolean)
SetCurrentValue(DependencyProperty, Object) Sets the value of a dependency property without changing its value source. Inherited from DependencyObject.
SetDiagram(DependencyObject, DiagramControl) static Sets the value of the DiagramControl.Diagram attached property for a given object.
SetDrawingContext(DependencyObject, DiagramDrawingContext) static Sets the value of the DiagramControl.DrawingContext attached property for the specified object.
SetFlowDirection(DependencyObject, FlowDirection) static Sets the value of the FlowDirection attached property for the provided element. Inherited from FrameworkElement.
SetResourceReference(DependencyProperty, Object) Searches for a resource with the specified name and sets up a resource reference to it for the specified property. Inherited from FrameworkElement.
SetSelectedImagesScale(Double) Sets the specified zoom factor for selected image items.
SetSelectedImagesStretchMode(StretchMode) Sets the specified stretch mode for selected image items.
SetValue(DependencyProperty, Object) Sets the local value of a dependency property, specified by its dependency property identifier. Inherited from DependencyObject.
SetValue(DependencyPropertyKey, Object) Sets the local value of a read-only dependency property, specified by the DependencyPropertyKey identifier of the dependency property. Inherited from DependencyObject.
ShouldSerializeCommandBindings() Returns whether serialization processes should serialize the contents of the CommandBindings property on instances of this class. Inherited from UIElement.
ShouldSerializeInputBindings() Returns whether serialization processes should serialize the contents of the InputBindings property on instances of this class. Inherited from UIElement.
ShouldSerializeProperty(DependencyProperty) protected Returns a value that indicates whether serialization processes should serialize the value for the provided dependency property. Inherited from DependencyObject.
ShouldSerializeResources() Returns whether serialization processes should serialize the contents of the Resources property. Inherited from FrameworkElement.
ShouldSerializeStyle() Returns whether serialization processes should serialize the contents of the Style property. Inherited from FrameworkElement.
ShouldSerializeTriggers() Returns whether serialization processes should serialize the contents of the Triggers property. Inherited from FrameworkElement.
ShowEditor() Invokes the text editor for the primary selected diagram shape.
ShowPrintPreview() Invokes the Print Preview.
ShowPrintPreview(Double)
ShowPrintPreview(Int32, OrientationKind)
IQueryAmbient.IsAmbientPropertyAvailable(String) For a description of this member, see the IsAmbientPropertyAvailable(String) method. Inherited from FrameworkElement.
ToggleSubordinatesVisibility(DiagramItem) Shows or hides the subordinates of the selected diagram item.
ToString() Returns the string representation of a Control object. Inherited from Control.
TransformToAncestor(Visual3D) Returns a transform that can be used to transform coordinates from the Visual to the specified Visual3D ancestor of the visual object. Inherited from Visual.
TransformToAncestor(Visual) Returns a transform that can be used to transform coordinates from the Visual to the specified Visual ancestor of the visual object. Inherited from Visual.
TransformToDescendant(Visual) Returns a transform that can be used to transform coordinates from the Visual to the specified visual object descendant. Inherited from Visual.
TransformToVisual(Visual) Returns a transform that can be used to transform coordinates from the Visual to the specified visual object. Inherited from Visual.
TranslatePoint(Point, UIElement) Translates a point relative to this element to coordinates that are relative to the specified element. Inherited from UIElement.
TryFindResource(Object) Searches for a resource with the specified key, and returns that resource if found. Inherited from FrameworkElement.
UnregisterName(String) Simplifies access to the NameScope de-registration method. Inherited from FrameworkElement.
UnregisterRoutingStrategy(ConnectorType) Removes the custom routing strategy applied to the specified connector type.
UnselectItem(DiagramItem) Unselects the specified diagram item.
UpdateConnectorsRoute(IEnumerable<DiagramConnector>) Recalculates the route for the specified diagram connectors.
UpdateDefaultStyle() Reapplies the default style to the current FrameworkElement. Inherited from FrameworkElement.
UpdateLayout() Ensures that all visual child elements of this element are properly updated for layout. Inherited from UIElement.
VerifyAccess() Enforces that the calling thread has access to this DispatcherObject. Inherited from DispatcherObject.
ZoomIn() Increases the document zoom factor.
ZoomOut() Decreases the document zoom factor.

Events

Name Description
AddingNewItem Fires each time a new item is added to the diagram by the end-user (e.g., dropped from the toolbox, drawn using a tool).
BeforeItemsMoving Fires each time the end-user attempts to move a diagram item.
BeforeItemsResizing Raises each time the end-user attempts to resize a diagram item.
BeforeItemsRotating Raises each time the end-user attempts to rotate a diagram item.
CanvasBoundsChanged Occurs when the size of the Canvas is changed.
ClosedEditor Fires after the end-user closes the diagram item’s text editor.
ConnectionChanged Occurs after the connection has been changed by the end-user.
ConnectionChanging Occurs when the connection is about to be changed by the end-user.
ContainerIsCollapsedChanged Occurs when the container’s collapsed state has been changed.
ContainerIsCollapsedChanging Occurs when the container’s collapsed state is being changed.
ContextMenuClosing Occurs just before any context menu on the element is closed. Inherited from FrameworkElement.
ContextMenuOpening Occurs when any context menu on the element is opened. Inherited from FrameworkElement.
CustomCursor Occurs when the mouse cursor enters the diagram control.
CustomGetEditableItemProperties Allows you to modify the list of diagram item properties that can be edited by end-users in the Properties Panel.
CustomGetEditableItemPropertiesCacheKey Allows you to update the set of properties displayed by the property grid.
CustomGetSerializableItemProperties Allows you to modify the list of serializable properties of diagram items.
CustomItemDrag Occurs when an end-user starts dragging a diagram item.
CustomItemDragResult Occurs before a drag and drop operation is completed.
CustomItemGiveFeedback Occurs while diagram items are dragged.
CustomItemQueryContinueDrag Occurs during a drag-and-drop operation.
CustomLoadDocument Fires after an end-user selects a document in the ‘Open File’ dialog or a document is loaded by setting the DiagramControl.DocumentSource property in code.
CustomLoadImage Fires after an end-user selects a file in the ‘Insert Picture’ dialog.
CustomSaveDocument Fires when the diagram is about to be saved (when an end-user uses Save actions in the Diagram’s Ribbon menu, or when the DiagramControl.SaveFile/DiagramControl.SaveFileAs method is called). The event allows you to implement custom saving logic.
DataContextChanged Occurs when the data context for this element changes. Inherited from FrameworkElement.
DeletingItems Fires when the end-user removes items from the diagram canvas. Obsoleted. Use the DiagramControl.ItemsDeleting event instead.
DocumentLoaded Occurs after a document is loaded into the DiagramControl.
DragEnter Occurs when the input system reports an underlying drag event with this element as the drag target. Inherited from UIElement.
DragLeave Occurs when the input system reports an underlying drag event with this element as the drag origin. Inherited from UIElement.
DragOver Occurs when the input system reports an underlying drag event with this element as the potential drop target. Inherited from UIElement.
Drop Occurs when the input system reports an underlying drop event with this element as the drop target. Inherited from UIElement.
ExceptionMessage Allows you to handle exceptions that may raise during various actions on the Diagram Control.
FocusableChanged Occurs when the value of the Focusable property changes. Inherited from UIElement.
GiveFeedback Occurs when the input system reports an underlying drag-and-drop event that involves this element. Inherited from UIElement.
GotFocus Occurs when this element gets logical focus. Inherited from UIElement.
GotKeyboardFocus Occurs when the keyboard is focused on this element. Inherited from UIElement.
GotMouseCapture Occurs when this element captures the mouse. Inherited from UIElement.
GotStylusCapture Occurs when this element captures the stylus. Inherited from UIElement.
GotTouchCapture Occurs when a touch is captured to this element. Inherited from UIElement.
Initialized Occurs when this FrameworkElement is initialized. This event coincides with cases where the value of the IsInitialized property changes from false (or undefined) to true. Inherited from FrameworkElement.
IsEnabledChanged Occurs when the value of the IsEnabled property on this element changes. Inherited from UIElement.
IsHitTestVisibleChanged Occurs when the value of the IsHitTestVisible dependency property changes on this element. Inherited from UIElement.
IsKeyboardFocusedChanged Occurs when the value of the IsKeyboardFocused property changes on this element. Inherited from UIElement.
IsKeyboardFocusWithinChanged Occurs when the value of the IsKeyboardFocusWithin property changes on this element. Inherited from UIElement.
IsMouseCapturedChanged Occurs when the value of the IsMouseCaptured property changes on this element. Inherited from UIElement.
IsMouseCaptureWithinChanged Occurs when the value of the IsMouseCaptureWithinProperty changes on this element. Inherited from UIElement.
IsMouseDirectlyOverChanged Occurs when the value of the IsMouseDirectlyOver property changes on this element. Inherited from UIElement.
IsStylusCapturedChanged Occurs when the value of the IsStylusCaptured property changes on this element. Inherited from UIElement.
IsStylusCaptureWithinChanged Occurs when the value of the IsStylusCaptureWithin property changes on this element. Inherited from UIElement.
IsStylusDirectlyOverChanged Occurs when the value of the IsStylusDirectlyOver property changes on this element. Inherited from UIElement.
IsVisibleChanged Occurs when the value of the IsVisible property changes on this element. Inherited from UIElement.
ItemBoundsChanged Fires each time an item’s bounds are changed.
ItemContentChanged Fires each time the end-user changes the item’s text.
ItemCreating Occurs before a diagram item is added to the canvas.
ItemDrawing Fires repeatedly as the end-user is drawing a shape using a drawing tool (Rectangle, Ellipse, Right Triangle or Hexagon).
ItemInitializing Fires each time an item is created via the DevExpress.Diagram.Core.ItemTool.
ItemsChanged Fires each time an item is added or removed from the diagram.
ItemsDeleting Fires each time diagram items have been removed from the canvas.
ItemsMoving Fires as the end-user is moving diagram items.
ItemsPasting Fires as the end-user pastes the diagram items from the clipboard onto the canvas.
ItemsResizing Fires when a diagram item is resized by the end-user or programmatically.
ItemsRotating Fires when the end-user attempts to rotate a diagram item.
KeyDown Occurs when a key is pressed while focus is on this element. Inherited from UIElement.
KeyUp Occurs when a key is released while focus is on this element. Inherited from UIElement.
LayoutUpdated Occurs when the layout of the various visual elements associated with the current Dispatcher changes. Inherited from UIElement.
Loaded Occurs when the element is laid out, rendered, and ready for interaction. Inherited from FrameworkElement.
LostFocus Occurs when this element loses logical focus. Inherited from UIElement.
LostKeyboardFocus Occurs when the keyboard is no longer focused on this element. Inherited from UIElement.
LostMouseCapture Occurs when this element loses mouse capture. Inherited from UIElement.
LostStylusCapture Occurs when this element loses stylus capture. Inherited from UIElement.
LostTouchCapture Occurs when this element loses a touch capture. Inherited from UIElement.
ManipulationBoundaryFeedback Occurs when the manipulation encounters a boundary. Inherited from UIElement.
ManipulationCompleted Occurs when a manipulation and inertia on the UIElement object is complete. Inherited from UIElement.
ManipulationDelta Occurs when the input device changes position during a manipulation. Inherited from UIElement.
ManipulationInertiaStarting Occurs when the input device loses contact with the UIElement object during a manipulation and inertia begins. Inherited from UIElement.
ManipulationStarted Occurs when an input device begins a manipulation on the UIElement object. Inherited from UIElement.
ManipulationStarting Occurs when the manipulation processor is first created. Inherited from UIElement.
MouseDoubleClick Occurs when a mouse button is clicked two or more times. Inherited from Control.
MouseDown Occurs when any mouse button is pressed while the pointer is over this element. Inherited from UIElement.
MouseEnter Occurs when the mouse pointer enters the bounds of this element. Inherited from UIElement.
MouseLeave Occurs when the mouse pointer leaves the bounds of this element. Inherited from UIElement.
MouseLeftButtonDown Occurs when the left mouse button is pressed while the mouse pointer is over this element. Inherited from UIElement.
MouseLeftButtonUp Occurs when the left mouse button is released while the mouse pointer is over this element. Inherited from UIElement.
MouseMove Occurs when the mouse pointer moves while over this element. Inherited from UIElement.
MouseRightButtonDown Occurs when the right mouse button is pressed while the mouse pointer is over this element. Inherited from UIElement.
MouseRightButtonUp Occurs when the right mouse button is released while the mouse pointer is over this element. Inherited from UIElement.
MouseUp Occurs when any mouse button is released over this element. Inherited from UIElement.
MouseWheel Occurs when the user rotates the mouse wheel while the mouse pointer is over this element. Inherited from UIElement.
PreviewDragEnter Occurs when the input system reports an underlying drag event with this element as the drag target. Inherited from UIElement.
PreviewDragLeave Occurs when the input system reports an underlying drag event with this element as the drag origin. Inherited from UIElement.
PreviewDragOver Occurs when the input system reports an underlying drag event with this element as the potential drop target. Inherited from UIElement.
PreviewDrop Occurs when the input system reports an underlying drop event with this element as the drop target. Inherited from UIElement.
PreviewGiveFeedback Occurs when a drag-and-drop operation is started. Inherited from UIElement.
PreviewGotKeyboardFocus Occurs when the keyboard is focused on this element. Inherited from UIElement.
PreviewKeyDown Occurs when a key is pressed while focus is on this element. Inherited from UIElement.
PreviewKeyUp Occurs when a key is released while focus is on this element. Inherited from UIElement.
PreviewLostKeyboardFocus Occurs when the keyboard is no longer focused on this element. Inherited from UIElement.
PreviewMouseDoubleClick Occurs when a user clicks the mouse button two or more times. Inherited from Control.
PreviewMouseDown Occurs when any mouse button is pressed while the pointer is over this element. Inherited from UIElement.
PreviewMouseLeftButtonDown Occurs when the left mouse button is pressed while the mouse pointer is over this element. Inherited from UIElement.
PreviewMouseLeftButtonUp Occurs when the left mouse button is released while the mouse pointer is over this element. Inherited from UIElement.
PreviewMouseMove Occurs when the mouse pointer moves while the mouse pointer is over this element. Inherited from UIElement.
PreviewMouseRightButtonDown Occurs when the right mouse button is pressed while the mouse pointer is over this element. Inherited from UIElement.
PreviewMouseRightButtonUp Occurs when the right mouse button is released while the mouse pointer is over this element. Inherited from UIElement.
PreviewMouseUp Occurs when any mouse button is released while the mouse pointer is over this element. Inherited from UIElement.
PreviewMouseWheel Occurs when the user rotates the mouse wheel while the mouse pointer is over this element. Inherited from UIElement.
PreviewQueryContinueDrag Occurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation. Inherited from UIElement.
PreviewStylusButtonDown Occurs when the stylus button is pressed while the pointer is over this element. Inherited from UIElement.
PreviewStylusButtonUp Occurs when the stylus button is released while the pointer is over this element. Inherited from UIElement.
PreviewStylusDown Occurs when the stylus touches the digitizer while it is over this element. Inherited from UIElement.
PreviewStylusInAirMove Occurs when the stylus moves over an element without actually touching the digitizer. Inherited from UIElement.
PreviewStylusInRange Occurs when the stylus is close enough to the digitizer to be detected, while over this element. Inherited from UIElement.
PreviewStylusMove Occurs when the stylus moves while over the element. The stylus must move while being detected by the digitizer to raise this event, otherwise, PreviewStylusInAirMove is raised instead. Inherited from UIElement.
PreviewStylusOutOfRange Occurs when the stylus is too far from the digitizer to be detected. Inherited from UIElement.
PreviewStylusSystemGesture Occurs when a user performs one of several stylus gestures. Inherited from UIElement.
PreviewStylusUp Occurs when the user raises the stylus off the digitizer while the stylus is over this element. Inherited from UIElement.
PreviewTextInput Occurs when this element gets text in a device-independent manner. Inherited from UIElement.
PreviewTouchDown Occurs when a finger touches the screen while the finger is over this element. Inherited from UIElement.
PreviewTouchMove Occurs when a finger moves on the screen while the finger is over this element. Inherited from UIElement.
PreviewTouchUp Occurs when a finger is raised off of the screen while the finger is over this element. Inherited from UIElement.
QueryConnectionPoints Fires each time the end-user moves the cursor with the active Connector Tool near shapes or their connection points.
QueryContinueDrag Occurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation. Inherited from UIElement.
QueryCursor Occurs when the cursor is requested to display. This event is raised on an element each time that the mouse pointer moves to a new location, which means the cursor object might need to be changed based on its new position. Inherited from UIElement.
QueryItemDrawAction Fires repeatedly as the end-user hovers over the diagram canvas while a drawing tool (Rectangle, Ellipse, Right Triangle or Hexagon) is selected.
QueryItemEditAction Fires each time the end-user attempts to initiate text editing to edit the text within a diagram item.
QueryItemsAction Fires each time the end-user attempts to perform an action on a diagram item.
QueryItemSnapping Fires repeatedly as the end-user triggers snapping while dragging or resizing a diagram shape.
RelayoutItemsCompleted Occurs immediately after an Automatic Layout algorithm is completed.
RequestBringIntoView Occurs when BringIntoView(Rect) is called on this element. Inherited from FrameworkElement.
SelectionChanged Fires when the selection changes (new items are selected, or currently selected items are deselected).
ShowingEditor Enables you to prevent an end-user from activating the editors of individual diagram items.
ShowingOpenDialog Fires before showing an ‘Open File’ dialog, and allows it to be customized.
ShowingOpenImageDialog Fires before showing an ‘Insert Picture’ dialog, and allows it to be customized.
ShowingSaveDialog Fires before showing a ‘Save File As’ dialog, and allows it to be customized.
SizeChanged Occurs when either the ActualHeight or the ActualWidth properties change value on this element. Inherited from FrameworkElement.
SourceUpdated Occurs when the source value changes for any existing property binding on this element. Inherited from FrameworkElement.
StylusButtonDown Occurs when the stylus button is pressed while the pointer is over this element. Inherited from UIElement.
StylusButtonUp Occurs when the stylus button is released while the pointer is over this element. Inherited from UIElement.
StylusDown Occurs when the stylus touches the digitizer while the stylus is over this element. Inherited from UIElement.
StylusEnter Occurs when the stylus enters the bounds of this element. Inherited from UIElement.
StylusInAirMove Occurs when the stylus moves over an element without actually touching the digitizer. Inherited from UIElement.
StylusInRange Occurs when the stylus is close enough to the digitizer to be detected, while over this element. Inherited from UIElement.
StylusLeave Occurs when the stylus leaves the bounds of the element. Inherited from UIElement.
StylusMove Occurs when the stylus moves over this element. The stylus must move while on the digitizer to raise this event. Otherwise, StylusInAirMove is raised instead. Inherited from UIElement.
StylusOutOfRange Occurs when the stylus is too far from the digitizer to be detected, while over this element. Inherited from UIElement.
StylusSystemGesture Occurs when a user performs one of several stylus gestures. Inherited from UIElement.
StylusUp Occurs when the user raises the stylus off the digitizer while it is over this element. Inherited from UIElement.
SubordinatesHidden Occurs after the subordinates of a diagram shape are hidden.
SubordinatesHiding Occurs before a DiagramItem‘s subordinates are hidden.
SubordinatesShowing Occurs before a DiagramItem‘s subordinates are shown.
SubordinatesShown Occurs after a DiagramItem‘s subordinates are shown.
TargetUpdated Occurs when the target value changes for any property binding on this element. Inherited from FrameworkElement.
TextInput Occurs when this element gets text in a device-independent manner. Inherited from UIElement.
ToolTipClosing Occurs just before any tooltip on the element is closed. Inherited from FrameworkElement.
ToolTipOpening Occurs when any tooltip on the element is opened. Inherited from FrameworkElement.
TouchDown Occurs when a finger touches the screen while the finger is over this element. Inherited from UIElement.
TouchEnter Occurs when a touch moves from outside to inside the bounds of this element. Inherited from UIElement.
TouchLeave Occurs when a touch moves from inside to outside the bounds of this element. Inherited from UIElement.
TouchMove Occurs when a finger moves on the screen while the finger is over this element. Inherited from UIElement.
TouchUp Occurs when a finger is raised off of the screen while the finger is over this element. Inherited from UIElement.
Unloaded Occurs when the element is removed from within an element tree of loaded elements. Inherited from FrameworkElement.
ZoomFactorChanged Raises each time the current diagram zoom factor is changed.

Attached Properties

Name Description
Diagram static Specifies the diagram control associated with an object. This is an attached property.
DrawingContext static Specifies the drawing context of the diagram. This is an attached property.
See Also