New to Telerik UI for WinFormsStart a free 30-day trial

Represents a powerful diagramming control that allows visualization and editing of diagrams, flowcharts, organizational charts, and other visual graph structures. Provides functionality for creating, connecting, and manipulating shapes within a canvas.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

C#
[TelerikToolboxCategory("Diagram")]
[ComplexBindingProperties("DataSource")]
public class RadDiagram : RadControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IAnalyticsProvider, IPrintable

Inheritance: objectMarshalByRefObjectComponentControlScrollableControlRadControlRadDiagram...

Implements: IAnalyticsProviderIBindableComponentIComponentIComponentTreeHandlerIDisposableIDropTargetILayoutHandlerINotifyPropertyChangedIPrintableISupportInitializeISupportInitializeNotificationISynchronizeInvokeIWin32Window...

Inherited Members RadControl.isResizing2RadControl.isDisposing2RadControl.invalidResizeRectRadControl.isAccessibilityRequestedRadControl.Dispose(bool)RadControl.Construct()RadControl.CreateBehavior()RadControl.CreateRootElement()RadControl.InitializeRootElement(RootRadElement)RadControl.LoadElementTree()RadControl.LoadElementTree(Size)RadControl.SetBackColorThemeOverrides()RadControl.ResetBackColorThemeOverrides()RadControl.SetForeColorThemeOverrides()RadControl.ResetForeColorThemeOverrides()RadControl.OnKeyUp(KeyEventArgs)RadControl.OnPreviewKeyDown(PreviewKeyDownEventArgs)RadControl.OnKeyPress(KeyPressEventArgs)RadControl.OnClick(EventArgs)RadControl.OnDoubleClick(EventArgs)RadControl.OnMouseEnter(EventArgs)RadControl.OnMouseLeave(EventArgs)RadControl.OnMouseHover(EventArgs)RadControl.OnMouseWheel(MouseEventArgs)RadControl.OnMouseCaptureChanged(EventArgs)RadControl.OnGotFocus(EventArgs)RadControl.OnLostFocus(EventArgs)RadControl.OnCreateControl()RadControl.OnHandleDestroyed(EventArgs)RadControl.OnParentChanged(EventArgs)RadControl.OnFontChanged(EventArgs)RadControl.OnForeColorChanged(EventArgs)RadControl.OnBackColorChanged(EventArgs)RadControl.OnEnabledChanged(EventArgs)RadControl.OnLocationChanged(EventArgs)RadControl.OnPaddingChanged(EventArgs)RadControl.OnRightToLeftChanged(EventArgs)RadControl.OnPaint(PaintEventArgs)RadControl.OnLayout(LayoutEventArgs)RadControl.OnAutoSizeChanged(EventArgs)RadControl.WndProc(ref Message)RadControl.OnInvalidated(RadElement)RadControl.OnLoad(Size)RadControl.OnCaptureLosing()RadControl.OnThemeChanged()RadControl.OnToolTipTextNeeded(object, ToolTipTextNeededEventArgs)RadControl.OnScreenTipNeeded(object, ScreenTipNeededEventArgs)RadControl.OnThemeNameChanged(ThemeNameChangedEventArgs)RadControl.ProcessMnemonic(char)RadControl.ProcessFocusRequested(RadElement)RadControl.ProcessCaptureChangeRequested(RadElement, bool)RadControl.GetInputElement()RadControl.OnNotifyPropertyChanged(string)RadControl.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadControl.GetPreferredSize(Size)RadControl.SetBoundsCore(int, int, int, int, BoundsSpecified)RadControl.GetRootElementDesiredSize(int, int, int, int)RadControl.OnZoomGesture(ZoomGestureEventArgs)RadControl.OnRotateGesture(RotateGestureEventArgs)RadControl.OnPanGesture(PanGestureEventArgs)RadControl.OnTwoFingerTapGesture(GestureEventArgs)RadControl.OnPressAndTapGesture(PressAndTapGestureEventArgs)RadControl.OnGesture(GestureEventArgs)RadControl.ProcessGesture(Message)RadControl.EnableGesture(GestureType)RadControl.DisableGesture(GestureType)RadControl.Refresh()RadControl.SuspendUpdate()RadControl.ResumeUpdate()RadControl.ResumeUpdate(bool)RadControl.InvokeLayoutCallback(LayoutCallback)RadControl.RegisterHostedControl(RadHostItem)RadControl.UnregisterHostedControl(RadHostItem, bool)RadControl.ResolveStyleGroupForElement(StyleGroup, RadObject)RadControl.GetPlainText()RadControl.ShouldSerializeProperty(RadProperty)RadControl.ShouldSerializeProperty(RadProperty, RadObject)RadControl.ResetProperty(RadProperty, RadObject)RadControl.CanEditElementAtDesignTime(RadElement)RadControl.ProcessCodedUIMessage(ref IPCMessage)RadControl.FindPropertyInChildren(RadControl, IPCMessage)RadControl.ScaleControl(SizeF, BoundsSpecified)RadControl.PerformRadAutoScale(BoundsSpecified?)RadControl.GetMonitorDpiScaleFactor(Control)RadControl.SetRadAutoScale(bool)RadControl.EnableDpiScalingRadControl.EnableRadAutoScaleRadControl.EnableRadFormInitialDpiScalingRadControl.EnableImageDpiScalingRadControl.EnableSvgImagesRadControl.IsLoadedRadControl.ElementTreeRadControl.UseCompatibleTextRenderingDefaultValueRadControl.BehaviorRadControl.RootElementRadControl.PaddingRadControl.ThemeNameRadControl.TextRadControl.EnableThemingRadControl.ThemeClassNameRadControl.ImageListRadControl.ImageScalingSizeRadControl.UseCompatibleTextRenderingRadControl.AutoSizeRadControl.MaximumSizeRadControl.MinimumSizeRadControl.FocusableRadControl.SiteRadControl.CausesValidationRadControl.IsInitializingRadControl.SmallImageListRadControl.SmallImageScalingSizeRadControl.IsDesignModeRadControl.IsDisplayedRadControl.FocusedElementRadControl.AllowShowFocusCuesRadControl.ShowItemToolTipsRadControl.CommandBindingsRadControl.EnableKeyMapRadControl.BackColorRadControl.ForeColorRadControl.FontRadControl.ValidationCancelRadControl.EnableAnalyticsRadControl.AnalyticsNameRadControl.EnableRadAccessibilityObjectsRadControl.EnableCodedUITestsRadControl.EnableCodedUITestsDefaultValueRadControl.EnableUIAutomationRadControl.EnableUIAutomationDefaultValueRadControl.ElementInvalidatedRadControl.ToolTipTextNeededRadControl.ScreenTipNeededRadControl.ThemeNameChangedRadControl.InitializedRadControl.PropertyChangedRadControl.ZoomGestureRadControl.RotateGestureRadControl.PanGestureRadControl.TwoFingerTapGestureRadControl.PressAndTapGestureScrollableControl.ScrollStateAutoScrollingScrollableControl.ScrollStateHScrollVisibleScrollableControl.ScrollStateVScrollVisibleScrollableControl.ScrollStateUserHasScrolledScrollableControl.ScrollStateFullDragScrollableControl.AdjustFormScrollbars(bool)ScrollableControl.GetScrollState(int)ScrollableControl.SetDisplayRectLocation(int, int)ScrollableControl.ScrollControlIntoView(Control)ScrollableControl.ScrollToControl(Control)ScrollableControl.OnScroll(ScrollEventArgs)ScrollableControl.SetAutoScrollMargin(int, int)ScrollableControl.SetScrollState(int, bool)ScrollableControl.AutoScrollScrollableControl.AutoScrollMarginScrollableControl.AutoScrollPositionScrollableControl.AutoScrollMinSizeScrollableControl.CreateParamsScrollableControl.DisplayRectangleScrollableControl.HScrollScrollableControl.HorizontalScrollScrollableControl.VScrollScrollableControl.VerticalScrollScrollableControl.ScrollControl.GetAccessibilityObjectById(int)Control.SetAutoSizeMode(AutoSizeMode)Control.GetAutoSizeMode()Control.AccessibilityNotifyClients(AccessibleEvents, int)Control.AccessibilityNotifyClients(AccessibleEvents, int, int)Control.BeginInvoke(Delegate)Control.BeginInvoke(Delegate, params object[])Control.BringToFront()Control.Contains(Control)Control.CreateAccessibilityInstance()Control.CreateControlsInstance()Control.CreateGraphics()Control.CreateHandle()Control.CreateControl()Control.DefWndProc(ref Message)Control.DestroyHandle()Control.DoDragDrop(object, DragDropEffects)Control.DrawToBitmap(Bitmap, Rectangle)Control.EndInvoke(IAsyncResult)Control.FindForm()Control.GetTopLevel()Control.RaiseKeyEvent(object, KeyEventArgs)Control.RaiseMouseEvent(object, MouseEventArgs)Control.Focus()Control.FromChildHandle(IntPtr)Control.FromHandle(IntPtr)Control.GetChildAtPoint(Point, GetChildAtPointSkip)Control.GetChildAtPoint(Point)Control.GetContainerControl()Control.GetScaledBounds(Rectangle, SizeF, BoundsSpecified)Control.GetNextControl(Control, bool)Control.GetStyle(ControlStyles)Control.Hide()Control.InitLayout()Control.Invalidate(Region)Control.Invalidate(Region, bool)Control.Invalidate()Control.Invalidate(bool)Control.Invalidate(Rectangle)Control.Invalidate(Rectangle, bool)Control.Invoke(Delegate)Control.Invoke(Delegate, params object[])Control.InvokePaint(Control, PaintEventArgs)Control.InvokePaintBackground(Control, PaintEventArgs)Control.IsKeyLocked(Keys)Control.IsInputChar(char)Control.IsMnemonic(char, string)Control.LogicalToDeviceUnits(int)Control.LogicalToDeviceUnits(Size)Control.ScaleBitmapLogicalToDevice(ref Bitmap)Control.NotifyInvalidate(Rectangle)Control.InvokeOnClick(Control, EventArgs)Control.OnBackgroundImageChanged(EventArgs)Control.OnBackgroundImageLayoutChanged(EventArgs)Control.OnCausesValidationChanged(EventArgs)Control.OnContextMenuChanged(EventArgs)Control.OnContextMenuStripChanged(EventArgs)Control.OnCursorChanged(EventArgs)Control.OnDockChanged(EventArgs)Control.OnNotifyMessage(Message)Control.OnParentBackColorChanged(EventArgs)Control.OnParentBackgroundImageChanged(EventArgs)Control.OnParentBindingContextChanged(EventArgs)Control.OnParentCursorChanged(EventArgs)Control.OnParentEnabledChanged(EventArgs)Control.OnParentFontChanged(EventArgs)Control.OnParentForeColorChanged(EventArgs)Control.OnParentRightToLeftChanged(EventArgs)Control.OnParentVisibleChanged(EventArgs)Control.OnPrint(PaintEventArgs)Control.OnTabIndexChanged(EventArgs)Control.OnTabStopChanged(EventArgs)Control.OnTextChanged(EventArgs)Control.OnClientSizeChanged(EventArgs)Control.OnControlAdded(ControlEventArgs)Control.OnControlRemoved(ControlEventArgs)Control.OnHandleCreated(EventArgs)Control.OnDragEnter(DragEventArgs)Control.OnDragOver(DragEventArgs)Control.OnDragLeave(EventArgs)Control.OnDragDrop(DragEventArgs)Control.OnGiveFeedback(GiveFeedbackEventArgs)Control.OnEnter(EventArgs)Control.InvokeGotFocus(Control, EventArgs)Control.OnHelpRequested(HelpEventArgs)Control.OnInvalidated(InvalidateEventArgs)Control.OnLeave(EventArgs)Control.InvokeLostFocus(Control, EventArgs)Control.OnMarginChanged(EventArgs)Control.OnMouseDoubleClick(MouseEventArgs)Control.OnMouseClick(MouseEventArgs)Control.OnDpiChangedBeforeParent(EventArgs)Control.OnDpiChangedAfterParent(EventArgs)Control.OnMove(EventArgs)Control.OnQueryContinueDrag(QueryContinueDragEventArgs)Control.OnRegionChanged(EventArgs)Control.OnResize(EventArgs)Control.OnSizeChanged(EventArgs)Control.OnChangeUICues(UICuesEventArgs)Control.OnStyleChanged(EventArgs)Control.OnSystemColorsChanged(EventArgs)Control.OnValidating(CancelEventArgs)Control.OnValidated(EventArgs)Control.RescaleConstantsForDpi(int, int)Control.PerformLayout()Control.PerformLayout(Control, string)Control.PointToClient(Point)Control.PointToScreen(Point)Control.PreProcessMessage(ref Message)Control.PreProcessControlMessage(ref Message)Control.ProcessCmdKey(ref Message, Keys)Control.ProcessDialogChar(char)Control.ProcessDialogKey(Keys)Control.ProcessKeyEventArgs(ref Message)Control.ProcessKeyMessage(ref Message)Control.ProcessKeyPreview(ref Message)Control.RaiseDragEvent(object, DragEventArgs)Control.RaisePaintEvent(object, PaintEventArgs)Control.RecreateHandle()Control.RectangleToClient(Rectangle)Control.RectangleToScreen(Rectangle)Control.ReflectMessage(IntPtr, ref Message)Control.ResetMouseEventArgs()Control.ResetText()Control.ResumeLayout()Control.ResumeLayout(bool)Control.Scale(SizeF)Control.Select()Control.Select(bool, bool)Control.SelectNextControl(Control, bool, bool, bool, bool)Control.SendToBack()Control.SetBounds(int, int, int, int)Control.SetBounds(int, int, int, int, BoundsSpecified)Control.SetClientSizeCore(int, int)Control.SizeFromClientSize(Size)Control.SetStyle(ControlStyles, bool)Control.SetTopLevel(bool)Control.SetVisibleCore(bool)Control.RtlTranslateAlignment(HorizontalAlignment)Control.RtlTranslateAlignment(LeftRightAlignment)Control.RtlTranslateAlignment(ContentAlignment)Control.RtlTranslateHorizontal(HorizontalAlignment)Control.RtlTranslateLeftRight(LeftRightAlignment)Control.RtlTranslateContent(ContentAlignment)Control.Show()Control.SuspendLayout()Control.Update()Control.UpdateBounds()Control.UpdateBounds(int, int, int, int)Control.UpdateBounds(int, int, int, int, int, int)Control.UpdateZOrder()Control.UpdateStyles()Control.OnImeModeChanged(EventArgs)Control.AccessibilityObjectControl.AccessibleDefaultActionDescriptionControl.AccessibleDescriptionControl.AccessibleNameControl.AccessibleRoleControl.AllowDropControl.AnchorControl.AutoScrollOffsetControl.LayoutEngineControl.BackgroundImageControl.BackgroundImageLayoutControl.BindingContextControl.BottomControl.BoundsControl.CanFocusControl.CanRaiseEventsControl.CanSelectControl.CaptureControl.CheckForIllegalCrossThreadCallsControl.ClientRectangleControl.ClientSizeControl.CompanyNameControl.ContainsFocusControl.ContextMenuControl.ContextMenuStripControl.ControlsControl.CreatedControl.CursorControl.DataBindingsControl.DefaultBackColorControl.DefaultCursorControl.DefaultFontControl.DefaultForeColorControl.DefaultMarginControl.DefaultMaximumSizeControl.DefaultMinimumSizeControl.DefaultPaddingControl.DeviceDpiControl.IsDisposedControl.DisposingControl.DockControl.DoubleBufferedControl.EnabledControl.FocusedControl.FontHeightControl.HandleControl.HasChildrenControl.HeightControl.IsHandleCreatedControl.InvokeRequiredControl.IsAccessibleControl.IsMirroredControl.LeftControl.LocationControl.MarginControl.ModifierKeysControl.MouseButtonsControl.MousePositionControl.NameControl.ParentControl.ProductNameControl.ProductVersionControl.RecreatingHandleControl.RegionControl.RenderRightToLeftControl.ResizeRedrawControl.RightControl.RightToLeftControl.ScaleChildrenControl.SizeControl.TabIndexControl.TabStopControl.TagControl.TopControl.TopLevelControlControl.ShowKeyboardCuesControl.ShowFocusCuesControl.UseWaitCursorControl.VisibleControl.WidthControl.PreferredSizeControl.CanEnableImeControl.DefaultImeModeControl.ImeModeControl.ImeModeBaseControl.PropagatingImeModeControl.BackColorChangedControl.BackgroundImageChangedControl.BackgroundImageLayoutChangedControl.BindingContextChangedControl.CausesValidationChangedControl.ClientSizeChangedControl.ContextMenuChangedControl.ContextMenuStripChangedControl.CursorChangedControl.DockChangedControl.EnabledChangedControl.FontChangedControl.ForeColorChangedControl.LocationChangedControl.MarginChangedControl.RegionChangedControl.RightToLeftChangedControl.SizeChangedControl.TabIndexChangedControl.TabStopChangedControl.TextChangedControl.VisibleChangedControl.ClickControl.ControlAddedControl.ControlRemovedControl.DragDropControl.DragEnterControl.DragOverControl.DragLeaveControl.GiveFeedbackControl.HandleCreatedControl.HandleDestroyedControl.HelpRequestedControl.InvalidatedControl.PaddingChangedControl.PaintControl.QueryContinueDragControl.QueryAccessibilityHelpControl.DoubleClickControl.EnterControl.GotFocusControl.KeyDownControl.KeyPressControl.KeyUpControl.LayoutControl.LeaveControl.LostFocusControl.MouseClickControl.MouseDoubleClickControl.MouseCaptureChangedControl.MouseDownControl.MouseEnterControl.MouseLeaveControl.DpiChangedBeforeParentControl.DpiChangedAfterParentControl.MouseHoverControl.MouseMoveControl.MouseUpControl.MouseWheelControl.MoveControl.PreviewKeyDownControl.ChangeUICuesControl.StyleChangedControl.SystemColorsChangedControl.ValidatingControl.ValidatedControl.ParentChangedControl.ImeModeChangedComponent.Dispose()Component.GetService(Type)Component.ToString()Component.EventsComponent.ContainerComponent.DesignModeComponent.DisposedMarshalByRefObject.MemberwiseClone(bool)MarshalByRefObject.GetLifetimeService()MarshalByRefObject.InitializeLifetimeService()MarshalByRefObject.CreateObjRef(Type)...

Constructors

Initializes a new instance of the RadDiagram class. Sets up the control with default settings and enables gesture support.

C#
public RadDiagram()

Properties

Gets or sets the tool which is active when interacting with the diagram elements.

C#
public MouseTool ActiveTool { get; set; }

Gets or sets a value indicating whether copying is allowed.

C#
public bool AllowCopy { get; set; }
Property Value:

True if copying is allowed; otherwise, false.

Gets or sets a value indicating whether cutting is allowed.

C#
public bool AllowCut { get; set; }
Property Value:

True if cutting is allowed; otherwise, false.

Gets or sets a value indicating whether deleting is allowed.

C#
public bool AllowDelete { get; set; }
Property Value:

True if deleting is allowed; otherwise, false.

Gets or sets a value indicating whether pasting is allowed.

C#
public bool AllowPaste { get; set; }
Property Value:

True if pasting is allowed; otherwise, false.

Gets or sets the auto layout.

C#
public bool AutoLayout { get; set; }
C#
public virtual BackgroundGrid BackgroundGrid { get; }
C#
public virtual BackgroundPageGrid BackgroundPageGrid { get; }

Gets or sets the connection bridge type.

C#
public BridgeType ConnectionBridge { get; set; }

Gets or sets the links data member.

C#
[Browsable(true)]
public string ConnectionDataMember { get; set; }
Property Value:

The data member.

Gets or sets whether the corners of the (polyline) connection are rounded.

C#
public bool ConnectionRoundedCorners { get; set; }
Remarks:

This property has only an effect when the ConnectionType is set to Polyline.

Gets the connections.

C#
[Browsable(false)]
public ConnectionCollection Connections { get; }

Gets or sets the ConnectionSourceCapTypeMember data member.

C#
[Browsable(true)]
public string ConnectionSourceCapTypeMember { get; set; }
Property Value:

The data member.

Gets or sets the SourceConnector data member.

C#
[Browsable(true)]
public string ConnectionSourceConnectorMember { get; set; }
Property Value:

The data member.

Gets or sets the ConnectionTargetShapeIdMember data member.

C#
[Browsable(true)]
public string ConnectionSourceShapeIdMember { get; set; }
Property Value:

The data member.

Gets or sets the ConnectionTargetCapTypeMember data member.

C#
[Browsable(true)]
public string ConnectionTargetCapTypeMember { get; set; }
Property Value:

The data member.

Gets or sets the Target connector data member.

C#
[Browsable(true)]
public string ConnectionTargetConnectorMember { get; set; }
Property Value:

The data member.

Gets or sets the ConnectionTargetShapeIdMember data member.

C#
[Browsable(true)]
public string ConnectionTargetShapeIdMember { get; set; }
Property Value:

The data member.

Gets or sets the ConnectionTextMember data member.

C#
[Browsable(true)]
public string ConnectionTextMember { get; set; }
Property Value:

The data member.

Gets the container generator.

C#
public IContainerGenerator<RadDiagramItem> ContainerGenerator { get; }

Gets or sets the data source of the RadDiagram.

C#
public object DataSource { get; set; }

Gets the default size of the RadDiagram control.

C#
protected override Size DefaultSize { get; }
Property Value:

A Size object representing the default size of the control.

Overrides: Control.DefaultSize

C#
public RadDiagramElement DiagramElement { get; set; }

Gets or sets the display member path.

C#
public string DisplayMemberPath { get; set; }
Property Value:

The display member path.

Gets or sets the graph source.

C#
public IGraphSource GraphSource { get; set; }
Property Value:

The graph source.

Groups

IEnumerable<IGroup>

Gets the group collection.

C#
[Browsable(false)]
public IEnumerable<IGroup> Groups { get; }
C#
public ScrollBarVisibility HorizontalScrollbarVisibility { get; set; }

Gets or sets whether the background grid is visible.

C#
public bool IsBackgroundSurfaceVisible { get; set; }

Gets or sets a value indicating whether manipulation on the connectors is enabled.

C#
public bool IsConnectorsManipulationEnabled { get; set; }
Property Value:

True if manipulation on connectors is enabled; otherwise, false.

Gets a value indicating whether this instance is data bound.

C#
[Browsable(false)]
public bool IsDataBound { get; }
Property Value:

true if this instance is data bound; otherwise, false.

Gets or sets a value indicating whether dragging is enabled.

C#
public bool IsDraggingEnabled { get; set; }
Property Value:

True if dragging is enabled; otherwise, false.

Gets or sets a value indicating whether editing is enabled.

C#
public bool IsEditable { get; set; }
Property Value:

True if editing is enabled; otherwise, false.

Gets or sets whether the information adorner is visible.

C#
public bool IsInformationAdornerVisible { get; set; }

Gets or sets a value indicating whether the manipulation adorner is visible.

C#
public bool IsManipulationAdornerVisible { get; set; }
Property Value:

True if the manipulation adorner is visible; otherwise, false.

Gets or sets a value indicating whether the mouse is captured.

C#
public bool IsMouseCaptured { get; set; }
Property Value:

True if the mouse is captured; otherwise, false.

Gets or sets a value indicating whether panning is enabled.

C#
public bool IsPanEnabled { get; set; }
Property Value:

True if panning is enabled; otherwise, false.

Gets or sets a value indicating whether resizing is enabled.

C#
public bool IsResizingEnabled { get; set; }
Property Value:

True if resizing is enabled; otherwise, false.

Gets or sets a value indicating whether rotation is enabled.

C#
public bool IsRotationEnabled { get; set; }
Property Value:

true if this rotation is enabled; otherwise, false.

Hide or Show the Settings pane button.

C#
public bool IsSettingsPaneEnabled { get; set; }

Gets or sets a value indicating whether grid snapping is enabled.

C#
public bool IsSnapToGridEnabled { get; set; }
Property Value:

True if grid snapping is enabled; otherwise, false.

Gets or sets a value indicating whether snapping of selected item(s) to the other items in the view port is enabled or not.

C#
public bool IsSnapToItemsEnabled { get; set; }

Gets or sets a value indicating whether zooming is enabled.

C#
public bool IsZoomEnabled { get; set; }
Property Value:

True if zooming is enabled; otherwise, false.

Gets or sets the diagramming items.

C#
[Browsable(false)]
public DiagramItemCollection Items { get; }
Property Value:

The items.

Gets the diagram metadata.

C#
[Browsable(false)]
public DiagramMetadata Metadata { get; }

Gets or sets the position.

C#
public Point Position { get; set; }
Property Value:

; The position.

Gets or sets the rectangle selection mode.

C#
public RectSelectionMode RectSelectionMode { get; set; }

Gets whether the Spline and Polyline connections will be automatically routed.

C#
public bool RouteConnections { get; set; }
Remarks:

Setting this property has no effect on other connection types.

C#
public IRoutingService RoutingService { get; }

Gets or sets the index of the first item in the current selection or returns negative one (-1) if the selection is empty.

C#
public int SelectedIndex { get; set; }

Gets or sets the first item in the current selection or returns null if the selection is empty. This is a dependency property.

C#
public object SelectedItem { get; set; }

Gets the selected items.

C#
public IEnumerable<IDiagramItem> SelectedItems { get; }

Gets the starting selection bounds.

C#
public Rect SelectionBounds { get; }

Gets or sets the selection mode.

C#
public SelectionMode SelectionMode { get; set; }
C#
public string SerializedXml { get; set; }

Gets the service locator.

C#
public IServiceLocator ServiceLocator { get; }

Gets or sets the links data member.

C#
[Browsable(true)]
public string ShapeDataMember { get; set; }
Property Value:

The data member.

Gets or sets the Shape height data member.

C#
[Browsable(true)]
public string ShapeHeightMember { get; set; }
Property Value:

The data member.

Gets or sets the ID data member.

C#
[Browsable(true)]
public string ShapeIdMember { get; set; }
Property Value:

The data member.

Gets the shapes.

C#
[Browsable(false)]
public ShapeCollection Shapes { get; }

Gets or sets the links data member.

C#
[Browsable(true)]
public string ShapeTextMember { get; set; }
Property Value:

The data member.

Gets or sets the Shape data member.

C#
[Browsable(true)]
public string ShapeTypeMember { get; set; }
Property Value:

The data member.

Gets or sets the Shape height data member.

C#
[Browsable(true)]
public string ShapeWidthMember { get; set; }
Property Value:

The data member.

Gets or sets the Shape X position data member.

C#
[Browsable(true)]
public string ShapeXMember { get; set; }
Property Value:

The data member.

Gets or sets the Shape Y position data member.

C#
[Browsable(true)]
public string ShapeYMember { get; set; }
Property Value:

The data member.

Gets or sets the horizontal snapping distance.

C#
public int SnapX { get; set; }
Property Value:

The horizontal snapping distance.

Gets or sets the vertical snapping distance.

C#
public int SnapY { get; set; }
Property Value:

The vertical snapping distance.

Gets the undo redo service.

C#
public IUndoRedoService UndoRedoService { get; }
C#
public ScrollBarVisibility VerticalScrollbarVisibility { get; set; }

Gets the bounds of the viewport.

C#
public Rect Viewport { get; }

Gets or sets the zoom. A zoom value of 1 means 100% and less then 1 means a zoom out. Zoom value will be coerced to be greater than zero, not infinity and not Nan. In addition, Zoom value will be coerced to be greater or equal than MinimumZoom and smaller or equal than MaximumZoom.

C#
public double Zoom { get; set; }

Methods

Adds a new connection to the diagram.

C#
public IConnection AddConnection(IConnection connection, bool isUndoable = false)
Parameters:connectionIConnection

The connection to be added.

isUndoablebool

If set to true this action will be recorded in the undo stack.

Returns:

IConnection

Adds a new connection to the diagram connecting the given source and target shapes.

C#
public IConnection AddConnection(IShape source, IShape target, bool isUndoable = false)
Parameters:sourceIShape

The source or start shape of the connection.

targetIShape

The target or end shape of the connection.

isUndoablebool

If set to true this action will be recorded in the undo stack.

Returns:

IConnection

Adds a new connection to the diagram connecting the given source and target shapes.

C#
public IConnection AddConnection(IShape source, IShape target, string connectorsPosition, bool isUndoable = false)
Parameters:sourceIShape

The source or start shape of the connection.

targetIShape

The target or end shape of the connection.

connectorsPositionstring

The connectors position.

isUndoablebool

If set to true this action will be recorded in the undo stack.

Returns:

IConnection

Adds a new connection to the diagram connecting the given source and target shapes.

C#
public IConnection AddConnection(IShape source, IShape target, string sourceConnector, string targetConnector, bool isUndoable = false)
Parameters:sourceIShape

The source.

targetIShape

The target.

sourceConnectorstring

The source connector position.

targetConnectorstring

The target connector position.

isUndoablebool

If set to true is undoable.

Returns:

IConnection

Adds a floating connection.

C#
public IConnection AddConnection(Point startPoint, Point endPoint, bool isUndoable = false)
Parameters:startPointPoint

The source (starting) point of the connection.

endPointPoint

The target (end) point of the connection.

isUndoablebool

True, if this action is undoable.

Returns:

IConnection

Returns the added connection.

Adds a new gliding connection to the diagram connecting the given source and target shapes.

C#
public IConnection AddGlidingConnection(IShape source, IShape target, bool isUndoable = false)
Parameters:sourceIShape

The source or start shape of the connection.

targetIShape

The target or end shape of the connection.

isUndoablebool

If set to true this action will be recorded in the undo stack.

Returns:

IConnection

Remarks:

If the shape already contains connections on the default connectors this will raise an exception since gliding connections are mutually exclusive with normal connections. Remove first the existing connections on the source and target shapes before calling this method.

Adds the given shape to the diagram.

C#
public IShape AddShape(IShape shape, Point? position = null, bool isUndoable = false)
Parameters:shapeIShape

The shape to add.

positionPoint?

The position at which the shape will be added on the canvas.

isUndoablebool

If set to true the action is undoable.

Returns:

IShape

Adds a new shape to the diagram.

C#
public IShape AddShape(object content, Geometry geometry = null, Point? position = null, bool isUndoable = false)
Parameters:contentobject

The content of the shape.

geometryGeometry

The geometry.

positionPoint?

The position.

isUndoablebool

If set to true the action is undoable.

Returns:

IShape

The added shape.

Remarks:

The given object will be inserted as the content of a new RadDiagramShape and will internally uniquely identify the shape. Alternatively, you can instantiate a new shape and use this same AddShape method to add it to the diagram, in which case the shape rather than the content will uniquely identify it internally.

Aligns the given shapes.

C#
public void Align(Alignment alignment, IEnumerable<IShape> shapes)
Parameters:alignmentAlignmentshapesIEnumerable<IShape>

Begins a batch transformation and signals the undo-redo stack that a batch of transformation should be considered as one, i.e. a composite change.

C#
public DiagramLayoutState BeginBatchTransformation()
Returns:

DiagramLayoutState

Suspends layout operations during initialization of the diagram control. Prevents unnecessary updates while multiple properties are being set.

C#
public override void BeginInit()

Overrides: RadControl.BeginInit()

Called when the printing begins.

C#
public int BeginPrint(RadPrintDocument sender, PrintEventArgs args)
Parameters:senderRadPrintDocument

The that has initiated the printing.

argsPrintEventArgs

The event args.

Returns:

int

The number of pages.

Implements: IPrintable.BeginPrint(RadPrintDocument, PrintEventArgs)

Brings the items forward.

C#
public void BringForward(IEnumerable<IDiagramItem> items, bool isUndoable = true)
Parameters:itemsIEnumerable<IDiagramItem>isUndoablebool

Brings the items to front.

C#
public void BringToFront(IEnumerable<IDiagramItem> items, bool isUndoable = true)
Parameters:itemsIEnumerable<IDiagramItem>isUndoablebool

Clears the diagram and resets the document.

C#
public void Clear()
Remarks:

The diagram is not saved prior to this reset. You need to handle in the application the eventual necessity to save (or request the user) the diagram before this.

Commits the batch transformation and ends the composite undo redo change.

C#
public void CommitBatchTransformation(DiagramLayoutState initialState, DiagramLayoutState finalState, bool animate = false, bool execute = true, LayoutType type = LayoutType.Sugiyama, object settings = null)
Parameters:initialStateDiagramLayoutState

The initial state.

finalStateDiagramLayoutState

The final state.

animatebool

If set to true the layout will be animated.

executebool

Whether the undo-redo unit is only added or also executed.

typeLayoutType

The layout type that has been applied.

settingsobject

The layout specific settings used for the layout.

Remarks:

The animation tremendously decreases the performance.

Copies the currently selected items of the diagram.

C#
public void Copy()

Creates and initializes the child elements of the RadDiagram control. Initializes and adds the diagram element to the control's element tree.

C#
protected override void CreateChildItems(RadElement parent)
Parameters:parentRadElement

The parent element that contains the child items.

Overrides: RadControl.CreateChildItems(RadElement)

Creates a new instance of the RadDiagramElement class that will be used as the main visual element of the diagram control.

C#
protected virtual RadDiagramElement CreateDiagramElement()
Returns:

RadDiagramElement

A new instance of RadDiagramElement.

Cuts the currently selected items of the diagram.

C#
public void Cut()

Deletes the currently selected items of the diagram.

C#
public virtual void Delete()

Deselects all shapes in the diagram.

C#
public void DeselectAll()

Deserializes the specified info.

C#
public virtual void Deserialize(SerializationInfo info)
Parameters:infoSerializationInfo

The info.

Resumes layout operations after initialization of the diagram control. Updates the diagram element and applies any pending changes.

C#
public override void EndInit()

Overrides: RadControl.EndInit()

Called when the printing ends.

C#
public bool EndPrint(RadPrintDocument sender, PrintEventArgs args)
Parameters:senderRadPrintDocument

The that has initiated the printing.

argsPrintEventArgs

The event args.

Returns:

bool

[false] if cancel

Implements: IPrintable.EndPrint(RadPrintDocument, PrintEventArgs)

Exports RadDiagram to Image

C#
public Image ExportToImage()
Returns:

Image

The Image. Should be manually disposed.

Refreshes ScrollBars and Background grids

C#
public void ForceRefresh()

Gets a print settings dialog that is specific for the printable object.

C#
public Form GetSettingsDialog(RadPrintDocument document)
Parameters:documentRadPrintDocument

The that has initiated the printing.

Returns:

Form

The dialog.

Implements: IPrintable.GetSettingsDialog(RadPrintDocument)

Groups the specified items.

C#
public IGroup Group(string groupName = null, bool isUndoable = false, params IGroupable[] items)
Parameters:groupNamestring

Name of the new group.

isUndoablebool

If set to true the action will be recorded as undoable.

itemsIGroupable[]

The groups items to ungroup.

Returns:

IGroup

Groups the specified items.

C#
public IGroup Group(string groupName = null, params IGroupable[] items)
Parameters:groupNamestring

Name of the new group.

itemsIGroupable[]

The groups items to ungroup.

Returns:

IGroup

Determines whether the specified key is an input key or a regular key for the control. Enables arrow keys and shift+arrow key combinations to be handled by the control.

C#
protected override bool IsInputKey(Keys keyData)
Parameters:keyDataKeys

A Keys value that represents the key to check.

Returns:

bool

true if the specified key is an input key; otherwise, false.

Overrides: RadControl.IsInputKey(Keys)

Checks if the diagram item is in the viewport.

C#
public bool IsInViewport(IDiagramItem item)
Parameters:itemIDiagramItemReturns:

bool

Organizes the diagram using the specified layout asynchronously.

C#
public void LayoutAsync(LayoutType type = LayoutType.Sugiyama, object settings = null)
Parameters:typeLayoutType

The layout type to apply.

settingsobject

The settings specific to the layout type.

Loads the specified serialization string.

C#
public void Load(string serializationValue)
Parameters:serializationValuestring

The serialization value.

Load Diagram to XML file

C#
public void LoadFromFile(string fileName)
Parameters:fileNamestring

Raises the BindingContextChanged event and updates the diagram element's binding context. Ensures that binding context changes are propagated to child elements.

C#
protected override void OnBindingContextChanged(EventArgs e)
Parameters:eEventArgs

An EventArgs that contains the event data.

Overrides: RadControl.OnBindingContextChanged(EventArgs)

Raises the KeyDown event and processes keyboard input for the diagram. Forwards key events to the diagram element for handling, unless a text editor is active.

C#
protected override void OnKeyDown(KeyEventArgs e)
Parameters:eKeyEventArgs

A KeyEventArgs that contains the event data.

Overrides: RadControl.OnKeyDown(KeyEventArgs)

Raises the MouseDown event and handles mouse down interactions for the diagram. Delegates mouse handling to the diagram element's input behavior system.

C#
protected override void OnMouseDown(MouseEventArgs e)
Parameters:eMouseEventArgs

A MouseEventArgs that contains the event data.

Overrides: RadControl.OnMouseDown(MouseEventArgs)

Raises the MouseMove event and handles mouse movement interactions for the diagram. Delegates mouse movement handling to the diagram element's input behavior system.

C#
protected override void OnMouseMove(MouseEventArgs e)
Parameters:eMouseEventArgs

A MouseEventArgs that contains the event data.

Overrides: RadControl.OnMouseMove(MouseEventArgs)

Raises the MouseUp event and handles mouse release interactions for the diagram. Delegates mouse up handling to the diagram element's input behavior system.

C#
protected override void OnMouseUp(MouseEventArgs e)
Parameters:eMouseEventArgs

A MouseEventArgs that contains the event data.

Overrides: RadControl.OnMouseUp(MouseEventArgs)

Raises the paint background event and handles special drawing requirements. Detects changes in the clipping rectangle and triggers a redraw when necessary.

C#
protected override void OnPaintBackground(PaintEventArgs e)
Parameters:ePaintEventArgs

A PaintEventArgs that contains the event data.

Overrides: ScrollableControl.OnPaintBackground(PaintEventArgs)

Raises the VisibleChanged event and performs necessary updates when visibility changes. Refreshes the diagram when the control becomes visible.

C#
protected override void OnVisibleChanged(EventArgs e)
Parameters:eEventArgs

An EventArgs that contains the event data.

Overrides: RadControl.OnVisibleChanged(EventArgs)

Pans the diagram to the provided position. The values are interpreted in the zoomed coordinate system. This means that panning with 100 pixel will result in visual translation with 100 pixel.

C#
public virtual void PanToPosition(Point newPosition)
Parameters:newPositionPoint

The new position coordinates to pan the diagram to.

Pastes the content of the clipboard onto the diagram.

C#
public virtual void Paste()

Directly prints the RadDiagram to the default printer.

C#
public virtual void Print()

Directly prints the RadDiagram to the default printer or shows printer settings and then prints the RadDiagram.

C#
public virtual void Print(bool showPrinterSettings, RadPrintDocument document)
Parameters:showPrinterSettingsbool

Indicates whether printer settings dialog should be shown.

documentRadPrintDocument

As instance of RadPrintDocument used to control the print process.

Directly prints the RadDiagram to the default printer or shows printer settings and then prints the RadDiagram.

C#
public virtual void Print(bool showPrinterSettings)
Parameters:showPrinterSettingsbool

Indicates whether printer settings dialog should be shown.

Prints the page with the specified number.

C#
public bool PrintPage(int pageNumber, RadPrintDocument sender, PrintPageEventArgs args)
Parameters:pageNumberint

The number of the current page.

senderRadPrintDocument

The that has initiated the printing.

argsPrintPageEventArgs

The event args.

Returns:

bool

[true] if there are more pages, [false] otherwise

Implements: IPrintable.PrintPage(int, RadPrintDocument, PrintPageEventArgs)

Shows a RadPrintPreviewDialog for editing print settings.

C#
public virtual void PrintPreview()

Shows a RadPrintPreviewDialog for editing print settings.

C#
public virtual void PrintPreview(RadPrintDocument document)
Parameters:documentRadPrintDocument

As instance of RadPrintDocument used to control the print process.

Overrides the base implementation of ProcessAutoSizeChanged. This method is intentionally empty as RadDiagram does not support auto-sizing.

C#
protected override void ProcessAutoSizeChanged(bool value)
Parameters:valuebool

A boolean value indicating whether auto-size is enabled.

Overrides: RadControl.ProcessAutoSizeChanged(bool)

Performs redo on the last undone action.

C#
public void Redo()

Removes the connection.

C#
public void RemoveConnection(IConnection connection, bool isUndoable = false)
Parameters:connectionIConnection

The connection.

isUndoablebool

If set to true the action is undoable.

Removes the shape.

C#
public void RemoveShape(IShape shape, bool isUndoable = false)
Parameters:shapeIShape

The shape.

isUndoablebool

If set to true the action is undoable.

Saves the diagram.

C#
public string Save()
Returns:

string

Returns the serialization string.

Save Diagram to XML file

C#
public void SaveToFile(string fileName)
Parameters:fileNamestring

Selects all shapes in the diagram.

C#
public void SelectAll()

Sends the items backward.

C#
public void SendBackward(IEnumerable<IDiagramItem> items, bool isUndoable = true)
Parameters:itemsIEnumerable<IDiagramItem>isUndoablebool

Sends the items to back.

C#
public void SendToBack(IEnumerable<IDiagramItem> items, bool isUndoable = true)
Parameters:itemsIEnumerable<IDiagramItem>isUndoablebool

Serializes this instance.

C#
public virtual SerializationInfo Serialize()
Returns:

SerializationInfo

Organizes the diagram using the specified layout.

C#
public void SetLayout(LayoutType type = LayoutType.Sugiyama, object settings = null)
Parameters:typeLayoutType

The layout type to apply.

settingsobject

The settings specific to the layout type.

Snaps the specified shapes.

C#
public void Snap(IEnumerable<IShape> shapes)
Parameters:shapesIEnumerable<IShape>

Performs undo on the last action.

C#
public void Undo()

Ungroups the specified items.

C#
public void Ungroup(bool isUndoable, params IGroup[] groups)
Parameters:isUndoablebool

If set to true the action will be recorded as undoable.

groupsIGroup[]

The groups items to ungroup.

Ungroups the specified items.

C#
public void Ungroup(params IGroup[] groups)
Parameters:groupsIGroup[]

The groups items to ungroup.

Zooms in the diagram. Simulates zooming with the mouse. Performs incremental zoom taking into account previous zoom operations.

C#
public virtual void ZoomIn(double? factor = null, Point? targetPoint = null)
Parameters:factordouble?

The value by which to change Zoom property. When factor is null, smaller or equal to zero the ZoomScaleFactor value will be used.

targetPointPoint?

The center of the zoom. The point should be provided in viewport coordinates.

Zooms out the diagram. Simulates zooming with the mouse. Performs incremental zoom taking into account previous zoom operations.

C#
public virtual void ZoomOut(double? factor = null, Point? targetPoint = null)
Parameters:factordouble?

The value by which to change Zoom property. When factor is null, smaller or equal to zero the ZoomScaleFactor value will be used.

targetPointPoint?

The center of the zoom. The point should be provided in viewport coordinates.

Events

Occurs when AdditionContent is activated.

C#
public event EventHandler<AdditionalContentActivatedEventArgs> AdditionalContentActivated

Occurs when a async command is executed.

C#
public event EventHandler<CommandEventArgs> CommandExecuted

Occurs when a connection is added.

C#
public event EventHandler<GenericEventArgs<IConnection>> ConnectionAdded

Occurs when the connection is being added.

C#
public event EventHandler<GenericEventArgs<IConnection>> ConnectionAdding

Occurs when connection is clicked.

C#
public event EventHandler<GenericEventArgs<IConnection>> ConnectionClicked

Occurs when a connection has been deserialized.

C#
public event EventHandler<SerializationEventArgs<IConnection>> ConnectionDeserialized
Remarks:

This event allows you to recover additional, application specific data from the serialization.

Occurs when the connection manipulation has completed.

C#
public event EventHandler<ManipulationEventArgs> ConnectionManipulationCompleted

Occurs before the connection manipulation has started.

C#
public event EventHandler<ManipulationEventArgs> ConnectionManipulationStarted

Occurs when a connection has been serialized.

C#
public event EventHandler<SerializationEventArgs<IConnection>> ConnectionSerialized
Remarks:

This event allows you to add additional, application specific data to the serialization.

Occurs after a connector activation or deactivation.

C#
public event EventHandler<ConnectorActivationChangedEventArgs> ConnectorActivationChanged

Occurs when the diagram has been deserialized.

C#
public event RoutedEventHandler Deserialized

Occurs when the diagram layout has completed.

C#
public event EventHandler<DiagramLayoutEventArgs> DiagramLayoutComplete

Occurs when an item is dragged.

C#
public event EventHandler<DragRoutedEventArgs> Drag

Occurs when the graph source has changed.

C#
public event EventHandler GraphSourceChanged

Occurs when the graph source begins changing.

C#
public event EventHandler GraphSourceChanging

Occurs after an Item is databound.

C#
public event DiagramItemDataBindingEventHandler ItemDataBound

Occurs when count of the items change.

C#
public event EventHandler<DiagramItemsChangedEventArgs> ItemsChanged

Occurs while the diagram items are changing.

C#
public event EventHandler<DiagramItemsChangingEventArgs> ItemsChanging

Occurs when the diagram's metadata has been deserialized.

C#
public event EventHandler<SerializationInfoEventArgs> MetadataDeserialized
Remarks:

The event allows you to deserialize the additional data added, if any, using the MetadataDeserialized event handler.

Occurs when the diagram's metadata has been serialized.

C#
public event EventHandler<SerializationInfoEventArgs> MetadataSerialized
Remarks:

This event allows you to add additional, application specific data to the serialization.

Occurs after the diagram is panned.

C#
public event EventHandler<PositionChangedRoutedEventArgs> Pan

Occurs when the position has changed.

C#
public event EventHandler<PositionChangedEventArgs> PositionChanged

Occurs when AdditionContent is about to be activated.

C#
public event EventHandler<AdditionalContentActivatedEventArgs> PreviewAdditionalContentActivated

Occurs before an item is dragged.

C#
public event EventHandler<DragRoutedEventArgs> PreviewDrag

Occurs before the diagram is panned.

C#
public event EventHandler<PositionChangedRoutedEventArgs> PreviewPan

Occurs before an item is resized.

C#
public event EventHandler<ResizeRoutedEventArgs> PreviewResize

Occurs before an item is rotated.

C#
public event EventHandler<RoutedEventArgs> PreviewRotate

Occurs when the selection of the diagram starts changing.

C#
public event EventHandler PreviewSelectionChanged

Occurs before the zoom has been changed.

C#
public event EventHandler<DiagramZoomEventArgs> PreviewZoom

Occurs when an item is resized.

C#
public event EventHandler<ResizingEventArgs> Resize

Occurs when an item is rotated.

C#
public event EventHandler<RotateRoutedEventArgs> Rotate
C#
public event EventHandler SelectionBoundsChanged

Occurs when the selection of the diagram changes.

C#
public event EventHandler SelectionChanged

Occurs after the diagram has been serialized.

C#
public event RoutedEventHandler Serialized

Occurs when shape is clicked.

C#
public event EventHandler<ShapeRoutedEventArgs> ShapeClicked

Occurs when a shape has been deserialized.

C#
public event EventHandler<SerializationEventArgs<IShape>> ShapeDeserialized
Remarks:

The event allows you to deserialize the additional data added, if any, using the ShapeSerialized event handler.

Occurs when a shape has been double-clicked.

C#
public event EventHandler<ShapeRoutedEventArgs> ShapeDoubleClicked

Occurs when a shape has been serialized.

C#
public event EventHandler<SerializationEventArgs<IShape>> ShapeSerialized
Remarks:

This event allows you to add additional, application specific data to the serialization.

Occurs when the zoom has been changed.

C#
public event EventHandler<DiagramZoomEventArgs> ZoomChanged

Extension Methods

In this article
DefinitionConstructorsRadDiagram()PropertiesActiveToolAllowCopyAllowCutAllowDeleteAllowPasteAutoLayoutBackgroundGridBackgroundPageGridConnectionBridgeConnectionDataMemberConnectionRoundedCornersConnectionsConnectionSourceCapTypeMemberConnectionSourceConnectorMemberConnectionSourceShapeIdMemberConnectionTargetCapTypeMemberConnectionTargetConnectorMemberConnectionTargetShapeIdMemberConnectionTextMemberContainerGeneratorDataSourceDefaultSizeDiagramElementDisplayMemberPathGraphSourceGroupsHorizontalScrollbarVisibilityIsBackgroundSurfaceVisibleIsConnectorsManipulationEnabledIsDataBoundIsDraggingEnabledIsEditableIsInformationAdornerVisibleIsManipulationAdornerVisibleIsMouseCapturedIsPanEnabledIsResizingEnabledIsRotationEnabledIsSettingsPaneEnabledIsSnapToGridEnabledIsSnapToItemsEnabledIsZoomEnabledItemsMetadataPositionRectSelectionModeRouteConnectionsRoutingServiceSelectedIndexSelectedItemSelectedItemsSelectionBoundsSelectionModeSerializedXmlServiceLocatorShapeDataMemberShapeHeightMemberShapeIdMemberShapesShapeTextMemberShapeTypeMemberShapeWidthMemberShapeXMemberShapeYMemberSnapXSnapYUndoRedoServiceVerticalScrollbarVisibilityViewportZoomMethodsAddConnection(IConnection, bool)AddConnection(IShape, IShape, bool)AddConnection(IShape, IShape, string, bool)AddConnection(IShape, IShape, string, string, bool)AddConnection(Point, Point, bool)AddGlidingConnection(IShape, IShape, bool)AddShape(IShape, Point?, bool)AddShape(object, Geometry, Point?, bool)Align(Alignment, IEnumerable<IShape>)BeginBatchTransformation()BeginInit()BeginPrint(RadPrintDocument, PrintEventArgs)BringForward(IEnumerable<IDiagramItem>, bool)BringToFront(IEnumerable<IDiagramItem>, bool)Clear()CommitBatchTransformation(DiagramLayoutState, DiagramLayoutState, bool, bool, LayoutType, object)Copy()CreateChildItems(RadElement)CreateDiagramElement()Cut()Delete()DeselectAll()Deserialize(SerializationInfo)EndInit()EndPrint(RadPrintDocument, PrintEventArgs)ExportToImage()ForceRefresh()GetSettingsDialog(RadPrintDocument)Group(string, bool, params IGroupable[])Group(string, params IGroupable[])IsInputKey(Keys)IsInViewport(IDiagramItem)LayoutAsync(LayoutType, object)Load(string)LoadFromFile(string)OnBindingContextChanged(EventArgs)OnKeyDown(KeyEventArgs)OnMouseDown(MouseEventArgs)OnMouseMove(MouseEventArgs)OnMouseUp(MouseEventArgs)OnPaintBackground(PaintEventArgs)OnVisibleChanged(EventArgs)PanToPosition(Point)Paste()Print()Print(bool, RadPrintDocument)Print(bool)PrintPage(int, RadPrintDocument, PrintPageEventArgs)PrintPreview()PrintPreview(RadPrintDocument)ProcessAutoSizeChanged(bool)Redo()RemoveConnection(IConnection, bool)RemoveShape(IShape, bool)Save()SaveToFile(string)SelectAll()SendBackward(IEnumerable<IDiagramItem>, bool)SendToBack(IEnumerable<IDiagramItem>, bool)Serialize()SetLayout(LayoutType, object)Snap(IEnumerable<IShape>)Undo()Ungroup(bool, params IGroup[])Ungroup(params IGroup[])ZoomIn(double?, Point?)ZoomOut(double?, Point?)EventsAdditionalContentActivatedCommandExecutedConnectionAddedConnectionAddingConnectionClickedConnectionDeserializedConnectionManipulationCompletedConnectionManipulationStartedConnectionSerializedConnectorActivationChangedDeserializedDiagramLayoutCompleteDragGraphSourceChangedGraphSourceChangingItemDataBoundItemsChangedItemsChangingMetadataDeserializedMetadataSerializedPanPositionChangedPreviewAdditionalContentActivatedPreviewDragPreviewPanPreviewResizePreviewRotatePreviewSelectionChangedPreviewZoomResizeRotateSelectionBoundsChangedSelectionChangedSerializedShapeClickedShapeDeserializedShapeDoubleClickedShapeSerializedZoomChangedExtension Methods
Not finding the help you need?
Contact Support