skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadDiagramElement

Represents a diagram element that provides visual diagramming functionality with support for shapes, connections, and interactive features.

Inheritance
System.Object
DisposableObject
RadObject
RadElement
VisualElement
RadComponentElement
RadItem
UIItemBase
LightVisualElement
RadDiagramElement
Inherited Members
LightVisualElement.BackgroundImageProperty
LightVisualElement.BackgroundImageLayoutProperty
LightVisualElement.BackColor2Property
LightVisualElement.BackColor3Property
LightVisualElement.BackColor4Property
LightVisualElement.BorderBottomColorProperty
LightVisualElement.BorderBottomShadowColorProperty
LightVisualElement.BorderBottomWidthProperty
LightVisualElement.BorderBoxStyleProperty
LightVisualElement.BorderColorProperty
LightVisualElement.BorderColor2Property
LightVisualElement.BorderColor3Property
LightVisualElement.BorderColor4Property
LightVisualElement.BorderDashStyleProperty
LightVisualElement.BorderDashPatternProperty
LightVisualElement.BorderDrawModeProperty
LightVisualElement.BorderGradientAngleProperty
LightVisualElement.BorderGradientStyleProperty
LightVisualElement.BorderInnerColorProperty
LightVisualElement.BorderInnerColor2Property
LightVisualElement.BorderInnerColor3Property
LightVisualElement.BorderInnerColor4Property
LightVisualElement.BorderLeftColorProperty
LightVisualElement.BorderLeftShadowColorProperty
LightVisualElement.BorderLeftWidthProperty
LightVisualElement.BorderRightColorProperty
LightVisualElement.BorderRightShadowColorProperty
LightVisualElement.BorderRightWidthProperty
LightVisualElement.BorderTopColorProperty
LightVisualElement.BorderTopShadowColorProperty
LightVisualElement.BorderTopWidthProperty
LightVisualElement.BorderWidthProperty
LightVisualElement.ClipTextProperty
LightVisualElement.DisabledTextRenderingHintProperty
LightVisualElement.DrawBorderProperty
LightVisualElement.DrawFillProperty
LightVisualElement.DrawTextProperty
LightVisualElement.DrawBackgroundImageProperty
LightVisualElement.DrawImageProperty
LightVisualElement.EnableImageTransparencyProperty
LightVisualElement.GradientAngleProperty
LightVisualElement.GradientPercentageProperty
LightVisualElement.GradientPercentage2Property
LightVisualElement.GradientStyleProperty
LightVisualElement.HorizontalLineColorProperty
LightVisualElement.HorizontalLineWidthProperty
LightVisualElement.ImageAlignmentProperty
LightVisualElement.ImageIndexProperty
LightVisualElement.ImageKeyProperty
LightVisualElement.ImageLayoutProperty
LightVisualElement.ImageOpacityProperty
LightVisualElement.ImageProperty
LightVisualElement.ImageTransparentColorProperty
LightVisualElement.NumberOfColorsProperty
LightVisualElement.ShowHorizontalLineProperty
LightVisualElement.SvgImageProperty
LightVisualElement.TextAlignmentProperty
LightVisualElement.TextImageRelationProperty
LightVisualElement.TextWrapProperty
LightVisualElement.TextRenderingHintProperty
LightVisualElement.GetBorderThickness(LightVisualElement, Boolean)
LightVisualElement.InitializeFields()
LightVisualElement.GetImageDrawTypeLocalValue()
LightVisualElement.MapStyleProperty(RadProperty, String)
LightVisualElement.GetStylablePropertiesFilter()
LightVisualElement.GetPaintingBorderWidth()
LightVisualElement.OnBitStateChanged(Int64, Boolean, Boolean)
LightVisualElement.DisposeManagedResources()
LightVisualElement.GetAsBitmapEx(Color, Single, SizeF)
LightVisualElement.GetClipRect()
LightVisualElement.PaintElement(IGraphics, Single, SizeF)
LightVisualElement.PaintText(IGraphics)
LightVisualElement.PaintTextCore(IGraphics)
LightVisualElement.DrawHorizontalLineWithoutText(IGraphics)
LightVisualElement.DrawHorizontalLine(IGraphics)
LightVisualElement.PaintImage(IGraphics)
LightVisualElement.PaintSvgImage(IGraphics)
LightVisualElement.PaintBackgroundImage(IGraphics)
LightVisualElement.PaintContent(IGraphics)
LightVisualElement.AnimateImage(Image, Boolean)
LightVisualElement.ClipImage(Image, Rectangle, Size)
LightVisualElement.MeasureOverride(SizeF)
LightVisualElement.CalculateDesiredSize(SizeF, SizeF, SizeF)
LightVisualElement.MeasureElements(SizeF, SizeF, Padding)
LightVisualElement.ArrangeElement(RadElement, SizeF)
LightVisualElement.GetClientOffset(Boolean)
LightVisualElement.GetBorderThickness(Boolean)
LightVisualElement.GetClientRectangle(Boolean, SizeF)
LightVisualElement.GetClientRectangle(SizeF)
LightVisualElement.GetTextAlignment(ContentAlignment)
LightVisualElement.GetTextAlignment()
LightVisualElement.OnPropertyChanged(RadPropertyChangedEventArgs)
LightVisualElement.OnTunnelEvent(RadElement, RoutedEventArgs)
LightVisualElement.ToggleTextPrimitive(RadProperty)
LightVisualElement.OnAnimatedImageFrameChanged()
LightVisualElement.GetFaceRectangle()
LightVisualElement.CreateTextParams()
LightVisualElement.PaintPrimitive(IGraphics, Single, SizeF, TextParams)
LightVisualElement.PaintPrimitive(IGraphics, TextParams)
LightVisualElement.MeasureOverride(SizeF, TextParams)
LightVisualElement.OnMouseMove(Object, MouseEventArgs)
LightVisualElement.GetTextSize(SizeF, TextParams)
LightVisualElement.GetTextSize(TextParams)
LightVisualElement.TextRenderingHint
LightVisualElement.DisabledTextRenderingHint
LightVisualElement.ShouldPaint
LightVisualElement.CanFocus
LightVisualElement.DrawText
LightVisualElement.DrawFill
LightVisualElement.DrawBorder
LightVisualElement.CheckDrawBorderOnMeasure
LightVisualElement.DrawBackgroundImage
LightVisualElement.DrawImage
LightVisualElement.BorderBoxStyle
LightVisualElement.BorderDrawMode
LightVisualElement.BorderWidth
LightVisualElement.BorderLeftWidth
LightVisualElement.BorderTopWidth
LightVisualElement.BorderRightWidth
LightVisualElement.BorderBottomWidth
LightVisualElement.BorderGradientAngle
LightVisualElement.BorderGradientStyle
LightVisualElement.BorderColor
LightVisualElement.BorderColor2
LightVisualElement.BorderColor3
LightVisualElement.BorderColor4
LightVisualElement.BorderInnerColor
LightVisualElement.BorderInnerColor2
LightVisualElement.BorderInnerColor3
LightVisualElement.BorderInnerColor4
LightVisualElement.BackColor2
LightVisualElement.BackColor3
LightVisualElement.BackColor4
LightVisualElement.NumberOfColors
LightVisualElement.GradientStyle
LightVisualElement.GradientAngle
LightVisualElement.GradientPercentage
LightVisualElement.GradientPercentage2
LightVisualElement.BackgroundImage
LightVisualElement.Image
LightVisualElement.ImageIndex
LightVisualElement.ImageKey
LightVisualElement.ImageLayout
LightVisualElement.BackgroundImageLayout
LightVisualElement.ImageOpacity
LightVisualElement.TextAlignment
LightVisualElement.ImageAlignment
LightVisualElement.TextImageRelation
LightVisualElement.ShowHorizontalLine
LightVisualElement.HorizontalLineColor
LightVisualElement.HorizontalLineWidth
LightVisualElement.DisableHTMLRendering
LightVisualElement.TextBlock
LightVisualElement.BorderLeftColor
LightVisualElement.BorderTopColor
LightVisualElement.BorderRightColor
LightVisualElement.BorderBottomColor
LightVisualElement.BorderLeftShadowColor
LightVisualElement.BorderTopShadowColor
LightVisualElement.BorderRightShadowColor
LightVisualElement.BorderBottomShadowColor
LightVisualElement.ClipText
LightVisualElement.Layout
LightVisualElement.ImageTransparentColor
LightVisualElement.BorderDashStyle
LightVisualElement.BorderDashPattern
LightVisualElement.EnableImageTransparency
LightVisualElement.SvgImage
LightVisualElement.SvgImageXml
LightVisualElement.ImageDrawType
LightVisualElement.Shadow
LightVisualElement.AutoEllipsis
LightVisualElement.UseMnemonic
LightVisualElement.TextWrap
LightVisualElement.ShowKeyboardCues
LightVisualElement.MeasureTrailingSpaces
LightVisualElement.TextParams
UIItemBase.PaintFill(IGraphics, Single, SizeF)
UIItemBase.GetFillPaintRect(Single, SizeF)
UIItemBase.PaintFill(IGraphics, Single, SizeF, RectangleF)
UIItemBase.PaintBorder(IGraphics, Single, SizeF)
UIItemBase.PaintBorder(IGraphics, Single, SizeF, RectangleF)
UIItemBase.GetBorderPaintRect(Single, SizeF)
UIItemBase.ShouldUsePaintBuffer()
UIItemBase.IPrimitiveElement.ShouldUsePaintBuffer()
UIItemBase.IPrimitiveElement.GetPaintRectangle(Single, Single, SizeF)
UIItemBase.IPrimitiveElement.GetExactPaintingRectangle(Single, SizeF)
UIItemBase.IShapedElement.GetCurrentShape()
UIItemBase.IPrimitiveElement.IsDesignMode
UIItemBase.IPrimitiveElement.BorderThickness
UIItemBase.IBorderElement.ForeColor
UIItemBase.IBorderElement.ForeColor2
UIItemBase.IBorderElement.ForeColor3
UIItemBase.IBorderElement.ForeColor4
UIItemBase.IBorderElement.InnerColor
UIItemBase.IBorderElement.InnerColor2
UIItemBase.IBorderElement.InnerColor3
UIItemBase.IBorderElement.InnerColor4
UIItemBase.IBorderElement.BoxStyle
UIItemBase.IBorderElement.GradientStyle
UIItemBase.IBorderElement.GradientAngle
UIItemBase.IBoxStyle.LeftColor
UIItemBase.IBoxStyle.LeftShadowColor
UIItemBase.IBoxStyle.TopColor
UIItemBase.IBoxStyle.TopShadowColor
UIItemBase.IBoxStyle.RightColor
UIItemBase.IBoxStyle.RightShadowColor
UIItemBase.IBoxStyle.BottomColor
UIItemBase.IBoxStyle.BottomShadowColor
UIItemBase.IBoxElement.Width
UIItemBase.IBoxElement.LeftWidth
UIItemBase.IBoxElement.TopWidth
UIItemBase.IBoxElement.RightWidth
UIItemBase.IBoxElement.BottomWidth
UIItemBase.IBoxElement.Offset
UIItemBase.IBoxElement.BorderSize
UIItemBase.IBoxElement.HorizontalWidth
UIItemBase.IBoxElement.VerticalWidth
RadItem.KeyDownEvent
RadItem.KeyPressEvent
RadItem.KeyUpEvent
RadItem.FocusCommand
RadItem.ActionCommand
RadItem.RadItemLastStateKey
RadItem.UseDefaultDisabledPaintProperty
RadItem.TextProperty
RadItem.TextOrientationProperty
RadItem.FlipTextProperty
RadItem.StringAlignmentProperty
RadItem.IsAddNewItemProperty
RadItem.ToolTipTextProperty
RadItem.EnableElementShadowProperty
RadItem.ShadowDepthProperty
RadItem.ShadowColorProperty
RadItem.IsPaintingRipple
RadItem.EnableRippleAnimationProperty
RadItem.RippleAnimationColorProperty
RadItem.EnableFocusBorderProperty
RadItem.FocusBorderColorProperty
RadItem.FocusBorderWidthProperty
RadItem.EnableFocusBorderAnimationProperty
RadItem.EnableHighlightProperty
RadItem.HighlightColorProperty
RadItem.EnableBorderHighlightProperty
RadItem.BorderHighlightColorProperty
RadItem.BorderHighlightThicknessProperty
RadItem.VisualStateProperty
RadItem.SetOwnerCollection(RadItemOwnerCollection)
RadItem.Select()
RadItem.OnSelect()
RadItem.Deselect()
RadItem.OnDeselect()
RadItem.DoKeyDown(KeyEventArgs)
RadItem.DoKeyPress(KeyPressEventArgs)
RadItem.DoKeyUp(KeyEventArgs)
RadItem.OnKeyDown(KeyEventArgs)
RadItem.OnKeyPress(KeyPressEventArgs)
RadItem.OnKeyUp(KeyEventArgs)
RadItem.RaiseBubbleEvent(RadElement, RoutedEventArgs)
RadItem.OnPropertyChanging(RadPropertyChangingEventArgs)
RadItem.OnEnabledChanged(RadPropertyChangedEventArgs)
RadItem.OnTextChanging(TextChangingEventArgs)
RadItem.OnTextChanged(EventArgs)
RadItem.OnTextOrientationChanged(EventArgs)
RadItem.OnFlipTextChanged(EventArgs)
RadItem.PaintOverride(IGraphics, Rectangle, Single, SizeF, Boolean)
RadItem.OnMouseUp(MouseEventArgs)
RadItem.OnMouseLeave(EventArgs)
RadItem.StartRippleAnimation(MouseEventArgs)
RadItem.UpdateFocusBorder(Boolean)
RadItem.ContainsText()
RadItem.ProcessDialogKey(Keys)
RadItem.ProcessCmdKey(Message, Keys)
RadItem.ProcessMnemonic(Char)
RadItem.CallRaiseKeyDown(KeyEventArgs)
RadItem.RaiseKeyDown(KeyEventArgs)
RadItem.CallRaiseKeyPress(KeyPressEventArgs)
RadItem.RaiseKeyPress(KeyPressEventArgs)
RadItem.CallRaiseKeyUp(KeyEventArgs)
RadItem.RaiseKeyUp(KeyEventArgs)
RadItem.ReplaceDefaultDescriptors(PropertyDescriptorCollection)
RadItem.CallOnGesture(GestureEventArgs)
RadItem.OnGesture(GestureEventArgs)
RadItem.OnTwoFingerTapGesture(GestureEventArgs)
RadItem.OnPressAndTapGesture(PressAndTapGestureEventArgs)
RadItem.OnRotateGesture(RotateGestureEventArgs)
RadItem.ISupportDrag.CanDrag(Point)
RadItem.CanDragCore(Point)
RadItem.ISupportDrag.GetDataContext()
RadItem.GetDragContextCore()
RadItem.ISupportDrag.GetDragHint()
RadItem.GetDragHintCore()
RadItem.ISupportDrop.DragDrop(Point, ISupportDrag)
RadItem.ProcessDragDrop(Point, ISupportDrag)
RadItem.ISupportDrop.DragOver(Point, ISupportDrag)
RadItem.ProcessDragOver(Point, ISupportDrag)
RadItem.ISupportDrop.DragEnter(Point, ISupportDrag)
RadItem.ProcessDragEnter(Point, ISupportDrag)
RadItem.ISupportDrop.DragLeave(Point, ISupportDrag)
RadItem.ProcessDragLeave(Point, ISupportDrag)
RadItem.IShortcutProvider.OnShortcut(ShortcutEventArgs)
RadItem.IShortcutProvider.OnPartialShortcut(PartialShortcutEventArgs)
RadItem.IShortcutProvider.OnShortcutsChanged()
RadItem.UpdateOnShortcutsChanged()
RadItem.CanHandleShortcut(ShortcutEventArgs)
RadItem.IsOnActiveForm(Control, Boolean)
RadItem.SetThemeValueOverride(RadProperty, Object, String)
RadItem.SetThemeValueOverride(RadProperty, Object, String, String)
RadItem.SetThemeValueOverride(RadProperty, Object, String, Type)
RadItem.ResetThemeValueOverride(RadProperty)
RadItem.ResetThemeValueOverride(RadProperty, String)
RadItem.ResetThemeValueOverrides()
RadItem.SuspendApplyOfThemeSettings()
RadItem.ResumeApplyOfThemeSettings()
RadItem.GetAvailableVisualStates()
RadItem.ShouldFallbackToDefaultTheme()
RadItem.UseDefaultDisabledPaint
RadItem.TextOrientation
RadItem.FlipText
RadItem.CanHaveOwnStyle
RadItem.Text
RadItem.Selectable
RadItem.DesignTimeAllowDrop
RadItem.DesignTimeAllowDrag
RadItem.DefaultAutoToolTip
RadItem.ShouldHandleMouseInput
RadItem.KeyTip
RadItem.ParentItem
RadItem.CommandBinding
RadItem.ShortcutsHandler
RadItem.EnableElementShadow
RadItem.ShadowDepth
RadItem.ShadowColor
RadItem.EnableRippleAnimation
RadItem.RippleAnimationColor
RadItem.EnableFocusBorder
RadItem.FocusBorderColor
RadItem.FocusBorderWidth
RadItem.EnableFocusBorderAnimation
RadItem.EnableHighlight
RadItem.HighlightColor
RadItem.EnableBorderHighlight
RadItem.BorderHighlightColor
RadItem.BorderHighlightThickness
RadItem.MnemonicText
RadItem.SerializeProperties
RadItem.ToolTipText
RadItem.ThemeRole
RadItem.VisualState
RadItem.StateManager
RadItem.AllowDrag
RadItem.AllowDrop
RadItem.Shortcuts
RadItem.AccessibleDescription
RadItem.AccessibleName
RadItem.AccessibleRole
RadItem.IStylableElement.VisualState
RadItem.IStylableElement.ThemeRole
RadItem.IStylableElement.FallbackToDefaultTheme
RadItem.ContainsMnemonic
RadItem.EnableAnalytics
RadItem.TextChanging
RadItem.TextChanged
RadItem.TextOrientationChanged
RadItem.FlipTextChanged
RadItem.QueryAccessibilityHelp
RadItem.KeyDown
RadItem.KeyPress
RadItem.KeyUp
RadItem.ZoomGesture
RadItem.RotateGesture
RadItem.PanGesture
RadItem.TwoFingerTapGesture
RadItem.PressAndTapGesture
RadComponentElement.ComponentElementLastStateKey
RadComponentElement.ToString()
RadComponentElement.GetService(Type)
RadComponentElement.CanRaiseEvents
RadComponentElement.Container
RadComponentElement.DesignMode
RadComponentElement.IsDesignMode
RadComponentElement.Site
RadComponentElement.DataBindings
VisualElement.DefaultSizeProperty
VisualElement.ForeColorProperty
VisualElement.BackColorProperty
VisualElement.FontProperty
VisualElement.SmoothingModeProperty
VisualElement.OpacityProperty
VisualElement.CustomFontProperty
VisualElement.CustomFontSizeProperty
VisualElement.CustomFontStyleProperty
VisualElement.OnFontChanged(EventArgs)
VisualElement.PaintChildren(IGraphics, Rectangle, Single, SizeF, Boolean)
VisualElement.PrePaintElement(IGraphics)
VisualElement.PostPaintElement(IGraphics)
VisualElement.GetScaledFont(Single)
VisualElement.GetScaledFont(Single, Font)
VisualElement.DefaultSize
VisualElement.ForeColor
VisualElement.BackColor
VisualElement.Font
VisualElement.CustomFont
VisualElement.CustomFontSize
VisualElement.CustomFontStyle
VisualElement.SmoothingMode
VisualElement.Opacity
VisualElement.FontChanged
RadElement.BoundsProperty
RadElement.BorderThicknessProperty
RadElement.PaddingProperty
RadElement.MarginProperty
RadElement.AlignmentProperty
RadElement.AutoSizeModeProperty
RadElement.FitToSizeModeProperty
RadElement.MinSizeProperty
RadElement.EnabledProperty
RadElement.CanFocusProperty
RadElement.IsItemFocusedProperty
RadElement.IsFocusedProperty
RadElement.IsMouseOverProperty
RadElement.IsMouseOverElementProperty
RadElement.IsMouseDownProperty
RadElement.ShouldPaintProperty
RadElement.VisibilityProperty
RadElement.NameProperty
RadElement.ClassProperty
RadElement.ClipDrawingProperty
RadElement.ShapeProperty
RadElement.MouseClickedEvent
RadElement.MouseDoubleClickedEvent
RadElement.MouseDownEvent
RadElement.MouseUpEvent
RadElement.MouseWheelEvent
RadElement.ChildElementAddedEvent
RadElement.ParentChangedEvent
RadElement.BoundsChangedEvent
RadElement.VisibilityChangingEvent
RadElement.EnabledChangedEvent
RadElement.ControlChangedEvent
RadElement.BackgroundShapeProperty
RadElement.BackgroundShapePaintModeProperty
RadElement.ContainsFocusProperty
RadElement.ContainsMouseProperty
RadElement.IsEditedInSpyProperty
RadElement.MaxSizeProperty
RadElement.RightToLeftProperty
RadElement.AutoSizeProperty
RadElement.ZIndexProperty
RadElement.AngleTransformProperty
RadElement.ScaleTransformProperty
RadElement.PositionOffsetProperty
RadElement.TagProperty
RadElement.StretchHorizontallyProperty
RadElement.StretchVerticallyProperty
RadElement.UseCompatibleTextRenderingProperty
RadElement.ClickModeProperty
RadElement.styleVersion
RadElement.paintSystemSkin
RadElement.TraceInvalidation
RadElement.SetPropertyValueCommand
RadElement.GetPropertyValueCommand
RadElement.RadElementLastStateKey
RadElement.StyleProperty
RadElement.CallCreateChildElements()
RadElement.SuspendReferenceUpdate()
RadElement.ResumeReferenceUpdate()
RadElement.OnLoad(Boolean)
RadElement.CallOnLoad(Boolean)
RadElement.LoadCore()
RadElement.OnUnload(ComponentThemableElementTree, Boolean)
RadElement.UnloadCore(ComponentThemableElementTree)
RadElement.OnUnloaded(ComponentThemableElementTree)
RadElement.OnElementTreeChanged(ComponentThemableElementTree)
RadElement.OnBeginDispose()
RadElement.SetParent(RadElement)
RadElement.OnParentChanged(RadElement)
RadElement.UpdateReferences(ComponentThemableElementTree, Boolean, Boolean)
RadElement.SetIsDesignMode(Boolean, Boolean)
RadElement.ChangeCollection(RadElement, ItemsChangeOperation)
RadElement.ResetLayout(Boolean)
RadElement.HasInvisibleAncestor()
RadElement.ResetLayoutCore()
RadElement.SetAllLocalValuesAsDefault(Boolean)
RadElement.InvalidateArrange()
RadElement.InvalidateArrange(Boolean)
RadElement.InvalidateMeasure()
RadElement.InvalidateMeasure(Boolean)
RadElement.UpdateLayout()
RadElement.SuspendLayout()
RadElement.SuspendLayout(Boolean)
RadElement.ResumeLayout(Boolean)
RadElement.ResumeLayout(Boolean, Boolean)
RadElement.Arrange(RectangleF)
RadElement.Measure(SizeF)
RadElement.SetBounds(Rectangle)
RadElement.SetBounds(Int32, Int32, Int32, Int32)
RadElement.GetBoundingRectangle(Size)
RadElement.GetBoundingRectangle(Rectangle)
RadElement.GetDesiredSize(Boolean)
RadElement.PointToScreen(Point)
RadElement.PointFromScreen(Point)
RadElement.PointToControl(Point)
RadElement.PointFromControl(Point)
RadElement.LocationToControl()
RadElement.RectangleToScreen(Rectangle)
RadElement.HitTest(Point)
RadElement.CallOnRenderSizeChanged(SizeChangedInfo)
RadElement.OnRenderSizeChanged(SizeChangedInfo)
RadElement.OnChildDesiredSizeChanged(RadElement)
RadElement.OnLayoutPropertyChanged(RadPropertyChangedEventArgs)
RadElement.ArrangeCore(RectangleF)
RadElement.MeasureCore(SizeF)
RadElement.ShouldArrangeChild(RadElement)
RadElement.ShouldMeasureChild(RadElement)
RadElement.MeasureChildren(SizeF)
RadElement.GetArrangeRect(RectangleF)
RadElement.CanExecuteLayoutOperation()
RadElement.CalcLayoutOffset(PointF)
RadElement.LockBounds()
RadElement.UnlockBounds()
RadElement.SetBoundsCore(Rectangle)
RadElement.IsInValidState(Boolean)
RadElement.GetScrollingOffset()
RadElement.Invalidate()
RadElement.Invalidate(Boolean)
RadElement.GetInvalidateBounds()
RadElement.NotifyInvalidate(RadElement)
RadElement.OnTransformationInvalidated()
RadElement.InvalidateTransformations()
RadElement.PerformLayoutTransformation(RadMatrix)
RadElement.PerformPaintTransformation(RadMatrix)
RadElement.IsInGetAsBitmap()
RadElement.PaintElementSkin(IGraphics)
RadElement.Paint(IGraphics, Rectangle, Single, SizeF, Boolean)
RadElement.PaintBackgroundShape(IGraphics)
RadElement.PostPaintChildren(IGraphics, Rectangle, Single, SizeF)
RadElement.PaintChild(RadElement, IGraphics, Rectangle, Single, SizeF, Boolean)
RadElement.PaintShadow(RadElement, IGraphics)
RadElement.PaintShadowCore(Graphics, Rectangle, RadItem)
RadElement.GetShadowRect(Rectangle, Int32)
RadElement.PaintFocusCues(IGraphics, Rectangle)
RadElement.GetAsBitmap(IGraphics, Brush, Single, SizeF)
RadElement.GetAsTransformedBitmap(IGraphics, Brush, Single, SizeF)
RadElement.GetAsTransformedBitmap(Brush, Single, SizeF)
RadElement.GetAsTransformedBitmap(Rectangle, Brush, Single, SizeF)
RadElement.GetAsBitmapEx(Brush, Single, SizeF)
RadElement.GetAsBitmap(Brush, Single, SizeF)
RadElement.IsInVisibleClipBounds(Rectangle)
RadElement.SetClipping(Graphics)
RadElement.ShouldPaintChild(RadElement)
RadElement.GetFocusRect()
RadElement.GetCurrentShape()
RadElement.GetPaintRectangle(Single, Single, SizeF)
RadElement.GetPatchedRect(RectangleF, Single, SizeF)
RadElement.GetXPVisualStyle()
RadElement.GetVistaVisualStyle()
RadElement.InitializeSystemSkinPaint()
RadElement.UnitializeSystemSkinPaint()
RadElement.GetSystemSkinPaintBounds()
RadElement.OnUseSystemSkinChanged(EventArgs)
RadElement.ShouldPaintSystemSkin()
RadElement.ComposeShouldPaintSystemSkin()
RadElement.ResetStyleSettings(Boolean)
RadElement.ResetStyleSettings(Boolean, RadProperty)
RadElement.ProcessBehaviors(RadPropertyChangedEventArgs)
RadElement.AddBehavior(PropertyChangeBehavior)
RadElement.GetBehaviors()
RadElement.RemoveBehavior(PropertyChangeBehavior)
RadElement.ClearBehaviors()
RadElement.AddRangeBehavior(PropertyChangeBehaviorCollection)
RadElement.SetThemeApplied(Boolean)
RadElement.OnStyleChanged(RadPropertyChangedEventArgs)
RadElement.SuspendThemeRefresh()
RadElement.ResumeThemeRefresh()
RadElement.UnapplyStyle()
RadElement.RemoveRangeBehaviors(PropertyChangeBehaviorCollection)
RadElement.RemoveBehaviors(PropertyChangeBehavior)
RadElement.RemoveRangeRoutedEventBehaviors(RoutedEventBehaviorCollection)
RadElement.GetThemeEffectiveType()
RadElement.GetChildrenByType(Type)
RadElement.GetChildrenByBaseType(Type)
RadElement.FindAncestorByThemeEffectiveType(Type)
RadElement.FindAncestor<T>()
RadElement.IsAncestorOf(RadElement)
RadElement.FindDescendant<T>()
RadElement.FindDescendant(Predicate<RadElement>)
RadElement.FindDescendant(Type)
RadElement.EnumDescendants(TreeTraversalMode)
RadElement.EnumDescendants(Predicate<RadElement>, TreeTraversalMode)
RadElement.EnumDescendants(Filter, TreeTraversalMode)
RadElement.GetDescendants(Predicate<RadElement>, TreeTraversalMode)
RadElement.GetDescendants(Filter, TreeTraversalMode)
RadElement.GetAncestors(Filter)
RadElement.GetAncestors(Predicate<RadElement>)
RadElement.RaiseRoutedEvent(RadElement, RoutedEventArgs)
RadElement.RaiseTunnelEvent(RadElement, RoutedEventArgs)
RadElement.OnBubbleEvent(RadElement, RoutedEventArgs)
RadElement.IsEventInProcess(RaisedRoutedEvent)
RadElement.RegisterRoutedEvent(String, Type)
RadElement.GetRegisterRoutedEvent(String, Type)
RadElement.GetRegisterRoutedEvent(String, String)
RadElement.GetRegisterRoutedEvent(String)
RadElement.OnChildrenChanged(RadElement, ItemsChangeOperation)
RadElement.GetChildren(ChildrenListOptions)
RadElement.SendToBack()
RadElement.BringToFront()
RadElement.GetChildAt(Int32)
RadElement.IsChildOf(RadElement)
RadElement.Focus()
RadElement.Focus(Boolean)
RadElement.SetFocusPropertySafe(Boolean)
RadElement.SetElementFocused(Boolean)
RadElement.KillFocus()
RadElement.SetFocus()
RadElement.OnCLREventsRise(RoutedEventArgs)
RadElement.OnMouseHover(EventArgs)
RadElement.OnParentEnabledChanged(RadPropertyChangedEventArgs)
RadElement.OnLostMouseCapture(MouseEventArgs)
RadElement.OnClick(EventArgs)
RadElement.OnDoubleClick(EventArgs)
RadElement.OnMouseEnter(EventArgs)
RadElement.PerformClick()
RadElement.DoMouseWheel(MouseEventArgs)
RadElement.DoClick(EventArgs)
RadElement.DoDoubleClick(EventArgs)
RadElement.CallDoMouseWheel(MouseEventArgs)
RadElement.IsInputKey(InputKeyEventArgs)
RadElement.MouseEventArgsFromControl(MouseEventArgs)
RadElement.DoMouseDown(MouseEventArgs)
RadElement.DoMouseUp(MouseEventArgs)
RadElement.DoMouseMove(MouseEventArgs)
RadElement.ShowScreenTip(ScreenTipNeededEventArgs)
RadElement.HideScreenTip()
RadElement.DoMouseHover(EventArgs)
RadElement.OnShowScreenTip(ComponentInputBehavior)
RadElement.RaiseClick(EventArgs)
RadElement.RaiseDoubleClick(EventArgs)
RadElement.RaiseMouseWheel(MouseEventArgs)
RadElement.UpdateContainsMouse()
RadElement.UpdateContainsFocus(Boolean)
RadElement.DoMouseEnter(EventArgs)
RadElement.DoMouseLeave(EventArgs)
RadElement.CallDoMouseDown(MouseEventArgs)
RadElement.CallDoMouseUp(MouseEventArgs)
RadElement.CallDoMouseMove(MouseEventArgs)
RadElement.CallDoMouseHover(EventArgs)
RadElement.CallDoMouseEnter(EventArgs)
RadElement.CallDoMouseLeave(EventArgs)
RadElement.CallDoClick(EventArgs)
RadElement.CallDoDoubleClick(EventArgs)
RadElement.GetValue(RadProperty)
RadElement.AddStylePropertySetting(IPropertySetting)
RadElement.SetValueCore(RadPropertyValue, Object, Object, ValueSource)
RadElement.NotifyChildren(RadPropertyChangedEventArgs)
RadElement.OnLocationChanged(RadPropertyChangedEventArgs)
RadElement.OnDisplayPropertyChanged(RadPropertyChangedEventArgs)
RadElement.CanRaisePropertyChangeNotifications(RadPropertyValue)
RadElement.IsPropertyCancelable(RadPropertyMetadata)
RadElement.OnParentPropertyChanged(RadPropertyChangedEventArgs)
RadElement.PerformDispose(Boolean)
RadElement.DisposeChildren()
RadElement.ResetUseCompatibleTextRendering()
RadElement.ShouldSerializeUseCompatibleTextRendering()
RadElement.IStylableNode.GetThemeEffectiveType()
RadElement.IStylableNode.ApplySettings(PropertySettingGroup)
RadElement.GetStylableChildrenHierarchy()
RadElement.GetStylableChildren()
RadElement.ResetStyleVersion()
RadElement.GetBorderThickness(BorderPrimitive)
RadElement.ElementState
RadElement.LayoutManager
RadElement.DesiredSize
RadElement.IsLayoutSuspended
RadElement.BoundingRectangle
RadElement.ControlBoundingRectangle
RadElement.BypassLayoutPolicies
RadElement.IsArrangeValid
RadElement.IsMeasureValid
RadElement.PreviousArrangeRect
RadElement.PreviousConstraint
RadElement.TreeLevel
RadElement.Transform
RadElement.TotalTransform
RadElement.ShouldPaintUsingParentShape
RadElement.UseSystemSkin
RadElement.VsbVisible
RadElement.PropagateStyleToChildren
RadElement.ThemeEffectiveType
RadElement.ElementTree
RadElement.Children
RadElement.ChildrenHierarchy
RadElement.Parent
RadElement.RoutedEventBehaviors
RadElement.LayoutableChildrenCount
RadElement.ContainsFocus
RadElement.NotifyParentOnMouseInput
RadElement.IsAbleToRespondToMouseEvents
RadElement.AutoSize
RadElement.Bounds
RadElement.Location
RadElement.Size
RadElement.BorderThickness
RadElement.Padding
RadElement.Margin
RadElement.Alignment
RadElement.AutoSizeMode
RadElement.FitToSizeMode
RadElement.Enabled
RadElement.IsFocused
RadElement.IsMouseOver
RadElement.IsMouseOverElement
RadElement.IsMouseDown
RadElement.InvalidateChildrenOnChildChanged
RadElement.Visibility
RadElement.IsElementVisible
RadElement.Name
RadElement.Class
RadElement.ClipDrawing
RadElement.Shape
RadElement.MinSize
RadElement.MaxSize
RadElement.ZIndex
RadElement.RightToLeft
RadElement.UseCompatibleTextRendering
RadElement.BackgroundShape
RadElement.BackgroundShapePaintMode
RadElement.ContainsMouse
RadElement.Capture
RadElement.ScaleTransform
RadElement.AngleTransform
RadElement.PositionOffset
RadElement.SerializeElement
RadElement.SerializeChildren
RadElement.RenderingMaxFramerate
RadElement.IsThemeApplied
RadElement.ShouldApplyTheme
RadElement.UseCenteredAngleTransform
RadElement.Tag
RadElement.StretchHorizontally
RadElement.StretchVertically
RadElement.ClickMode
RadElement.DoubleClickEnabled
RadElement.CaptureOnMouseDown
RadElement.IsFocusable
RadElement.IsItemHovered
RadElement.IStylableNode.Parent
RadElement.IStylableNode.ChildrenHierarchy
RadElement.IStylableNode.Children
RadElement.IStylableNode.Class
RadElement.Style
RadElement.AutoToolTip
RadElement.ScreenTip
RadElement.AutoNumberKeyTip
RadElement.MeasureIsDirty
RadElement.ArrangeIsDirty
RadElement.NeverMeasured
RadElement.NeverArranged
RadElement.ArrangeInProgress
RadElement.MeasureInProgress
RadElement.ShouldPaintChildren
RadElement.InvalidateMeasureOnRemove
RadElement.HideFromElementHierarchyEditor
RadElement.DpiScaleFactor
RadElement.LayoutUpdated
RadElement.ElementPainted
RadElement.MouseHover
RadElement.MouseMove
RadElement.MouseDown
RadElement.MouseUp
RadElement.Click
RadElement.DoubleClick
RadElement.MouseEnter
RadElement.MouseWheel
RadElement.EnabledChanged
RadElement.MouseLeave
RadElement.ChildrenChanged
RadElement.LostMouseCapture
RadObject.BindingContextProperty
RadObject.RadType
RadObject.ClearPropertyStore()
RadObject.SuspendPropertyNotifications()
RadObject.ResumePropertyNotifications()
RadObject.GetPropertyValue(RadProperty)
RadObject.SetDefaultValueOverride(RadProperty, Object)
RadObject.SetValueAtDesignTime(RadProperty, Object)
RadObject.SetValue(RadProperty, Object)
RadObject.ResetValue(RadProperty)
RadObject.ResetLocalValue(RadProperty)
RadObject.ResetValue(RadProperty, ValueResetFlags)
RadObject.UpdateValue(RadProperty)
RadObject.GetValueSource(RadProperty)
RadObject.GetRegisteredRadProperty(String)
RadObject.UpdateValueCore(RadPropertyValue)
RadObject.ResetValueCore(RadPropertyValue, ValueResetFlags)
RadObject.GetDefaultValue(RadPropertyValue, Object)
RadObject.CoerceValue(RadPropertyValue, Object)
RadObject.ShouldSerializeProperty(RadProperty)
RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions)
RadObject.UnbindProperty(RadProperty)
RadObject.RemoveStylePropertySetting(IPropertySetting)
RadObject.RemoveStylePropertySetting(RadProperty)
RadObject.GetInheritedValue(RadProperty)
RadObject.OnNotifyPropertyChanged(String)
RadObject.OnNotifyPropertyChanged(PropertyChangedEventArgs)
RadObject.OnShouldSerializeProperty(ShouldSerializePropertyEventArgs)
RadObject.PropertyValues
RadObject.PropertyFilter
RadObject.RadObjectType
RadObject.PropertyChanged
RadObject.RadPropertyChanged
RadObject.RadPropertyChanging
RadObject.ShouldSerializePropertyHandler
DisposableObject.GetBitState(Int64)
DisposableObject.SetBitState(Int64, Boolean)
DisposableObject.Dispose()
DisposableObject.Dispose(Boolean)
DisposableObject.DisposeUnmanagedResources()
DisposableObject.BitState
DisposableObject.Events
DisposableObject.IsDisposing
DisposableObject.IsDisposed
DisposableObject.Disposed
DisposableObject.Disposing
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.RadDiagram.dll

Syntax

public class RadDiagramElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider, ISupportContainerGenerator<RadDiagramItem>, IGraphInternal, IGraph, ISerializable, ISupportManipulation

Constructors

RadDiagramElement()

Initializes a new instance of the RadDiagramElement class.

Declaration
public RadDiagramElement()

Fields

ActiveToolProperty

Identifies the ActiveTool dependency property.

Declaration
public static readonly RadProperty ActiveToolProperty
Field Value
RadProperty

AllowCopyProperty

Identifies the AllowCopy dependency property.

Declaration
public static readonly RadProperty AllowCopyProperty
Field Value
RadProperty

AllowCutProperty

Identifies the AllowCut dependency property.

Declaration
public static readonly RadProperty AllowCutProperty
Field Value
RadProperty

AllowDeleteProperty

Identifies the AllowDelete dependency property.

Declaration
public static readonly RadProperty AllowDeleteProperty
Field Value
RadProperty

AllowPasteProperty

Identifies the AllowPaste dependency property.

Declaration
public static readonly RadProperty AllowPasteProperty
Field Value
RadProperty

AutoLayoutProperty

Identifies the AutoLayout dependency property.

Declaration
public static readonly RadProperty AutoLayoutProperty
Field Value
RadProperty

ConnectionBridgeProperty

Identifies the Position dependency property.

Declaration
public static readonly RadProperty ConnectionBridgeProperty
Field Value
RadProperty

ConnectionClickedEvent

Identifies the ConnectionClicked routed event.

Declaration
public static RoutedEvent ConnectionClickedEvent
Field Value
RoutedEvent

ConnectionEditTemplateProperty

Identifies the ConnectionEditTemplate dependency property.

Declaration
public static readonly RadProperty ConnectionEditTemplateProperty
Field Value
RadProperty

ConnectionEditTemplateSelectorProperty

Identifies the ConnectionEditTemplateSelector dependency property.

Declaration
public static readonly RadProperty ConnectionEditTemplateSelectorProperty
Field Value
RadProperty

ConnectionRoundedCornersProperty

Identifies the RoundedCorners dependency property.

Declaration
public static readonly RadProperty ConnectionRoundedCornersProperty
Field Value
RadProperty

ConnectionTemplateProperty

Identifies the ConnectionTemplate dependency property.

Declaration
public static readonly RadProperty ConnectionTemplateProperty
Field Value
RadProperty

ConnectionTemplateSelectorProperty

Identifies the ConnectionTemplateSelector dependency property.

Declaration
public static readonly RadProperty ConnectionTemplateSelectorProperty
Field Value
RadProperty

DisplayMemberPathProperty

Identifies the DisplayMemberPath dependency property.

Declaration
public static readonly RadProperty DisplayMemberPathProperty
Field Value
RadProperty

GraphSourceProperty

Identifies the GraphSource dependency property.

Declaration
public static readonly RadProperty GraphSourceProperty
Field Value
RadProperty

IsAdditionalContentVisibleProperty

Identifies the IsAdditionalContentVisible dependency property.

Declaration
public static readonly RadProperty IsAdditionalContentVisibleProperty
Field Value
RadProperty

IsBackgroundSurfaceVisibleProperty

Identifies the IsBackgroundSurfaceVisible dependency property.

Declaration
public static readonly RadProperty IsBackgroundSurfaceVisibleProperty
Field Value
RadProperty

IsConnectorsManipulationEnabledProperty

Identifies the IsConnectorsManipulationEnabled dependency property.

Declaration
public static readonly RadProperty IsConnectorsManipulationEnabledProperty
Field Value
RadProperty

IsDraggingEnabledProperty

Identifies the IsDraggingEnabled dependency property.

Declaration
public static readonly RadProperty IsDraggingEnabledProperty
Field Value
RadProperty

IsEditableProperty

Identifies the IsEditable dependency property.

Declaration
public static readonly RadProperty IsEditableProperty
Field Value
RadProperty

IsInformationAdornerVisibleProperty

Identifies the IsInformationAdornerVisible dependency property.

Declaration
public static readonly RadProperty IsInformationAdornerVisibleProperty
Field Value
RadProperty

IsManipulationAdornerVisibleProperty

Identifies the IsManipulationAdornerVisible dependency property.

Declaration
public static readonly RadProperty IsManipulationAdornerVisibleProperty
Field Value
RadProperty

IsPanEnabledProperty

Identifies the IsPanEnabled dependency property.

Declaration
public static readonly RadProperty IsPanEnabledProperty
Field Value
RadProperty

IsResizingEnabledProperty

Identifies the IsResizingEnabled dependency property.

Declaration
public static readonly RadProperty IsResizingEnabledProperty
Field Value
RadProperty

IsRotationEnabledProperty

Identifies the IsRotationEnabled dependency property.

Declaration
public static readonly RadProperty IsRotationEnabledProperty
Field Value
RadProperty

IsSnapToGridEnabledProperty

Identifies the IsSnapEnabled dependency property.

Declaration
public static readonly RadProperty IsSnapToGridEnabledProperty
Field Value
RadProperty

IsSnapToItemsEnabledProperty

Identifies the IsSnapToItemsEnabled dependency property.

Declaration
public static readonly RadProperty IsSnapToItemsEnabledProperty
Field Value
RadProperty

IsZoomEnabledProperty

Identifies the IsZoomEnabled dependency property.

Declaration
public static readonly RadProperty IsZoomEnabledProperty
Field Value
RadProperty

ItemsProperty

Identifies the Items dependency property.

Declaration
public static readonly RadProperty ItemsProperty
Field Value
RadProperty

PositionProperty

Identifies the Position dependency property.

Declaration
public static readonly RadProperty PositionProperty
Field Value
RadProperty

RectSelectionModeProperty

Identifies the RectSelectionMode dependency property.

Declaration
public static readonly RadProperty RectSelectionModeProperty
Field Value
RadProperty

RouteConnectionsProperty

Identifies the RouteConnections dependency property.

Declaration
public static readonly RadProperty RouteConnectionsProperty
Field Value
RadProperty

SelectedIndexProperty

Identifies the SelectedIndex dependency property.

Declaration
public static readonly RadProperty SelectedIndexProperty
Field Value
RadProperty

SelectedItemProperty

Identifies the SelectedItem dependency property.

Declaration
public static readonly RadProperty SelectedItemProperty
Field Value
RadProperty

SelectionModeProperty

Identifies the SelectionMode dependency property.

Declaration
public static readonly RadProperty SelectionModeProperty
Field Value
RadProperty

ShapeClickedEvent

Identifies the ShapeClicked routed event.

Declaration
public static RoutedEvent ShapeClickedEvent
Field Value
RoutedEvent

ShapeDoubleClickedEvent

Identifies the ShapeDoubleClicked routed event.

Declaration
public static RoutedEvent ShapeDoubleClickedEvent
Field Value
RoutedEvent

ShapeEditTemplateProperty

Identifies the ShapeEditTemplate dependency property.

Declaration
public static readonly RadProperty ShapeEditTemplateProperty
Field Value
RadProperty

ShapeEditTemplateSelectorProperty

Identifies the ShapeEditTemplateSelector dependency property.

Declaration
public static readonly RadProperty ShapeEditTemplateSelectorProperty
Field Value
RadProperty

ShapeTemplateProperty

Identifies the ShapeTemplate dependency property.

Declaration
public static readonly RadProperty ShapeTemplateProperty
Field Value
RadProperty

ShapeTemplateSelectorProperty

Identifies the ShapeTemplateSelector dependency property.

Declaration
public static readonly RadProperty ShapeTemplateSelectorProperty
Field Value
RadProperty

SnapXProperty

Declaration
public static readonly RadProperty SnapXProperty
Field Value
RadProperty

SnapYProperty

Declaration
public static readonly RadProperty SnapYProperty
Field Value
RadProperty

SupportTouchGesturesProperty

Identifies the SupportTouchGestures dependency property.

Declaration
public static readonly RadProperty SupportTouchGesturesProperty
Field Value
RadProperty

ViewportProperty

Identifies the Viewport dependency property.

Declaration
public static readonly RadProperty ViewportProperty
Field Value
RadProperty

ZoomProperty

Identifies the Zoom dependency property.

Declaration
public static readonly RadProperty ZoomProperty
Field Value
RadProperty

Properties

ActiveTool

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

Declaration
public MouseTool ActiveTool { get; set; }
Property Value
MouseTool

AdditionalContent

Gets or sets the additional content element that provides extended functionality and settings access.

Declaration
public RadButtonElement AdditionalContent { get; set; }
Property Value
RadButtonElement

AllowCopy

Gets or sets a value indicating whether copying is allowed.

Declaration
public bool AllowCopy { get; set; }
Property Value
System.Boolean

True if copying is allowed; otherwise, false.

Implements
ISupportManipulation.AllowCopy

AllowCut

Gets or sets a value indicating whether cutting is allowed.

Declaration
public bool AllowCut { get; set; }
Property Value
System.Boolean

True if cutting is allowed; otherwise, false.

Implements
ISupportManipulation.AllowCut

AllowDelete

Gets or sets a value indicating whether deleting is allowed.

Declaration
public bool AllowDelete { get; set; }
Property Value
System.Boolean

True if deleting is allowed; otherwise, false.

Implements
ISupportManipulation.AllowDelete

AllowPaste

Gets or sets a value indicating whether pasting is allowed.

Declaration
public bool AllowPaste { get; set; }
Property Value
System.Boolean

True if pasting is allowed; otherwise, false.

Implements
ISupportManipulation.AllowPaste

AutoLayout

Gets or sets the auto layout.

Declaration
public bool AutoLayout { get; set; }
Property Value
System.Boolean

BackgroundGrid

Gets the background grid that provides visual grid lines for the diagram.

Declaration
public BackgroundGrid BackgroundGrid { get; }
Property Value
BackgroundGrid

BackgroundPageGrid

Gets the background page grid that provides page layout visualization.

Declaration
public BackgroundPageGrid BackgroundPageGrid { get; }
Property Value
BackgroundPageGrid

BindingContext

Gets or sets the BindingContext for the object.

Declaration
public override BindingContext BindingContext { get; set; }
Property Value
System.Windows.Forms.BindingContext

Overrides
RadObject.BindingContext

ConnectionBridge

Gets or sets the connection bridge type.

Declaration
public BridgeType ConnectionBridge { get; set; }
Property Value
BridgeType

Implements
IGraphInternal.ConnectionBridge

ConnectionEditTemplate

Gets or sets the connection edit template.

Declaration
public DataTemplate ConnectionEditTemplate { get; set; }
Property Value
DataTemplate

The connection edit template.

ConnectionRoundedCorners

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

Declaration
public bool ConnectionRoundedCorners { get; set; }
Property Value
System.Boolean

Implements
IGraphInternal.ConnectionRoundedCorners
Remarks

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

Connections

Gets the connections.

Declaration
public ConnectionCollection Connections { get; }
Property Value
ConnectionCollection

Implements
IGraph.Connections

ConnectionTemplate

Gets or sets the connection template.

Declaration
public DataTemplate ConnectionTemplate { get; set; }
Property Value
DataTemplate

The connection template.

ConnectionTemplateSelector

Gets or sets the connection template selector.

Declaration
public DataTemplateSelector ConnectionTemplateSelector { get; set; }
Property Value
DataTemplateSelector

The connection template selector.

ContainerGenerator

Gets the container generator.

Declaration
public IContainerGenerator<RadDiagramItem> ContainerGenerator { get; }
Property Value
IContainerGenerator<RadDiagramItem>

Controller

Gets the graph controller that manages diagram interactions, selections, and commands.

Declaration
public GraphController Controller { get; }
Property Value
GraphController

Cursor

Gets or sets the cursor displayed when hovering over the diagram.

Declaration
public Cursor Cursor { get; set; }
Property Value
System.Windows.Forms.Cursor

Implements
IGraph.Cursor

DataLayer

Declaration
public virtual DiagramDataLayer DataLayer { get; }
Property Value
DiagramDataLayer

Implements
IGraphInternal.DataLayer

DiagramElement

Gets or sets the framework element associated with the diagram.

Declaration
public FrameworkElement DiagramElement { get; set; }
Property Value
FrameworkElement

DisplayMemberPath

Gets or sets the display member path.

Declaration
public string DisplayMemberPath { get; set; }
Property Value
System.String

The display member path.

GraphSource

Gets or sets the graph source.

Declaration
public IGraphSource GraphSource { get; set; }
Property Value
IGraphSource

The graph source.

Implements
IGraph.GraphSource

Groups

Gets the group collection.

Declaration
public IEnumerable<IGroup> Groups { get; }
Property Value
System.Collections.Generic.IEnumerable<IGroup>

Implements
IGraph.Groups

HorizontalScrollbar

Gets the horizontal scrollbar element of the diagram.

Declaration
public RadScrollBarElement HorizontalScrollbar { get; }
Property Value
RadScrollBarElement

HorizontalScrollbarVisibility

Declaration
public ScrollBarVisibility HorizontalScrollbarVisibility { get; set; }
Property Value
ScrollBarVisibility

IgnoreLinkDirection

Gets or sets a value indicating whether the underlying graph structure is a directional graph.

Declaration
public bool IgnoreLinkDirection { get; set; }
Property Value
System.Boolean

True if link directions are ignored; otherwise, false.

Implements
IGraph.IgnoreLinkDirection

InputBehavior

Gets or sets the input behavior that handles user interactions with the diagram.

Declaration
public virtual DiagramInputBehavior InputBehavior { get; set; }
Property Value
DiagramInputBehavior

IsAdditionalContentVisible

Gets a value indicating whether the additional content visible.

Declaration
public bool IsAdditionalContentVisible { get; }
Property Value
System.Boolean

IsBackgroundSurfaceVisible

Gets or sets whether the background grid is visible.

Declaration
public bool IsBackgroundSurfaceVisible { get; set; }
Property Value
System.Boolean

Implements
IGraph.IsBackgroundSurfaceVisible

IsConnectorsManipulationEnabled

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

Declaration
public bool IsConnectorsManipulationEnabled { get; set; }
Property Value
System.Boolean

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

Implements
ISupportManipulation.IsConnectorsManipulationEnabled

IsDraggingEnabled

Gets or sets a value indicating whether dragging is enabled.

Declaration
public bool IsDraggingEnabled { get; set; }
Property Value
System.Boolean

True if dragging is enabled; otherwise, false.

Implements
ISupportManipulation.IsDraggingEnabled

IsEditable

Gets or sets a value indicating whether editing is enabled.

Declaration
public bool IsEditable { get; set; }
Property Value
System.Boolean

True if editing is enabled; otherwise, false.

Implements
IGraph.IsEditable

IsInformationAdornerVisible

Gets or sets whether the information adorner is visible.

Declaration
public bool IsInformationAdornerVisible { get; set; }
Property Value
System.Boolean

IsManipulationAdornerVisible

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

Declaration
public bool IsManipulationAdornerVisible { get; set; }
Property Value
System.Boolean

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

Implements
ISupportManipulation.IsManipulationAdornerVisible

IsMouseCaptured

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

Declaration
public bool IsMouseCaptured { get; set; }
Property Value
System.Boolean

True if the mouse is captured; otherwise, false.

Implements
IGraph.IsMouseCaptured

IsPanEnabled

Gets or sets a value indicating whether panning is enabled.

Declaration
public bool IsPanEnabled { get; set; }
Property Value
System.Boolean

True if panning is enabled; otherwise, false.

Implements
IGraph.IsPanEnabled

IsResizingEnabled

Gets or sets a value indicating whether resizing is enabled.

Declaration
public bool IsResizingEnabled { get; set; }
Property Value
System.Boolean

True if resizing is enabled; otherwise, false.

Implements
ISupportManipulation.IsResizingEnabled

IsRotationEnabled

Gets or sets a value indicating whether rotation is enabled.

Declaration
public bool IsRotationEnabled { get; set; }
Property Value
System.Boolean

true if this rotation is enabled; otherwise, false.

Implements
ISupportManipulation.IsRotationEnabled

IsSettingsPaneEnabled

Gets or sets a value indicating whether the settings pane is enabled for the diagram.

Declaration
public bool IsSettingsPaneEnabled { get; set; }
Property Value
System.Boolean

IsSnapToGridEnabled

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

Declaration
public bool IsSnapToGridEnabled { get; set; }
Property Value
System.Boolean

True if grid snapping is enabled; otherwise, false.

Implements
IGraph.IsSnapToGridEnabled

IsSnapToItemsEnabled

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

Declaration
public bool IsSnapToItemsEnabled { get; set; }
Property Value
System.Boolean

Implements
IGraph.IsSnapToItemsEnabled

IsUpdating

Declaration
public bool IsUpdating { get; }
Property Value
System.Boolean

IsZoomEnabled

Gets or sets a value indicating whether zooming is enabled.

Declaration
public bool IsZoomEnabled { get; set; }
Property Value
System.Boolean

True if zooming is enabled; otherwise, false.

Implements
IGraph.IsZoomEnabled

ItemInformationAdorner

Gets or sets the item information adorner that displays additional information about selected diagram items.

Declaration
public ItemInformationAdorner ItemInformationAdorner { get; set; }
Property Value
ItemInformationAdorner

Items

Gets or sets the diagramming items.

Declaration
public DiagramItemCollection Items { get; }
Property Value
DiagramItemCollection

The items.

Implements
IGraph.Items

ItemsHost

Gets the diagram surface that hosts and manages all diagram items.

Declaration
public DiagramSurface ItemsHost { get; }
Property Value
DiagramSurface

MainPanel

Gets the main panel that contains all diagram visual elements and provides coordinate transformation.

Declaration
public Panel MainPanel { get; }
Property Value
Panel

Metadata

Gets the diagram metadata.

Declaration
public DiagramMetadata Metadata { get; }
Property Value
DiagramMetadata

Implements
IGraph.Metadata

Position

Gets or sets the position.

Declaration
public Point Position { get; set; }
Property Value
Point

The position.

Implements
IGraph.Position

RectSelectionMode

Gets or sets the rectangle selection mode.

Declaration
public RectSelectionMode RectSelectionMode { get; set; }
Property Value
RectSelectionMode

Implements
IGraph.RectSelectionMode

RegisteredCommands

Declaration
public static List<CommandBinding> RegisteredCommands { get; set; }
Property Value
System.Collections.Generic.List<CommandBinding>

RouteConnections

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

Declaration
public bool RouteConnections { get; set; }
Property Value
System.Boolean

Implements
IGraphInternal.RouteConnections
Remarks

Setting this property has no effect on other connection types.

RoutingService

Declaration
public IRoutingService RoutingService { get; }
Property Value
IRoutingService

SelectedIndex

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

Declaration
public int SelectedIndex { get; set; }
Property Value
System.Int32

SelectedItem

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

Declaration
public object SelectedItem { get; set; }
Property Value
System.Object

SelectedItems

Gets the selected items.

Declaration
public IEnumerable<IDiagramItem> SelectedItems { get; }
Property Value
System.Collections.Generic.IEnumerable<IDiagramItem>

SelectionBounds

Gets the starting selection bounds.

Declaration
public Rect SelectionBounds { get; }
Property Value
Rect

SelectionMode

Gets or sets the selection mode.

Declaration
public SelectionMode SelectionMode { get; set; }
Property Value
SelectionMode

Implements
IGraph.SelectionMode

ServiceLocator

Gets the service locator.

Declaration
public IServiceLocator ServiceLocator { get; }
Property Value
IServiceLocator

Implements
IGraphInternal.ServiceLocator

SettingsPane

Gets or sets the diagram settings pane that provides configuration options for selected items.

Declaration
public RadDiagramSettingsPane SettingsPane { get; set; }
Property Value
RadDiagramSettingsPane

ShapeEditTemplate

Gets or sets the shape edit template.

Declaration
public DataTemplate ShapeEditTemplate { get; set; }
Property Value
DataTemplate

The shape edit template.

ShapeEditTemplateSelector

Gets or sets the shape edit template selector.

Declaration
public DataTemplateSelector ShapeEditTemplateSelector { get; set; }
Property Value
DataTemplateSelector

The shape edit template selector.

Shapes

Gets the shapes.

Declaration
public ShapeCollection Shapes { get; }
Property Value
ShapeCollection

Implements
IGraph.Shapes

ShapeTemplate

Gets or sets the shape template.

Declaration
public DataTemplate ShapeTemplate { get; set; }
Property Value
DataTemplate

The shape template.

ShapeTemplateSelector

Gets or sets the shape template selector.

Declaration
public DataTemplateSelector ShapeTemplateSelector { get; set; }
Property Value
DataTemplateSelector

The shape template selector.

SnapX

Gets or sets the horizontal snapping distance.

Declaration
public int SnapX { get; set; }
Property Value
System.Int32

The horizontal snapping distance.

Implements
IGraph.SnapX

SnapY

Gets or sets the vertical snapping distance.

Declaration
public int SnapY { get; set; }
Property Value
System.Int32

The vertical snapping distance.

Implements
IGraph.SnapY

UndoRedoService

Gets the undo redo service.

Declaration
public IUndoRedoService UndoRedoService { get; }
Property Value
IUndoRedoService

VerticalScrollbar

Gets the vertical scrollbar element of the diagram.

Declaration
public RadScrollBarElement VerticalScrollbar { get; }
Property Value
RadScrollBarElement

VerticalScrollbarVisibility

Declaration
public ScrollBarVisibility VerticalScrollbarVisibility { get; set; }
Property Value
ScrollBarVisibility

Viewport

Gets the bounds of the viewport.

Declaration
public Rect Viewport { get; }
Property Value
Rect

Implements
IGraph.Viewport

Zoom

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.

Declaration
public double Zoom { get; set; }
Property Value
System.Double

Implements
IGraph.Zoom

Methods

AddConnection(IConnection, Boolean)

Adds a new connection to the diagram.

Declaration
public IConnection AddConnection(IConnection connection, bool isUndoable = false)
Parameters
IConnection connection

The connection to be added.

System.Boolean isUndoable

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

Returns
IConnection

Implements
IGraph.AddConnection(IConnection, Boolean)

AddConnection(IShape, IShape, Boolean)

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

Declaration
public IConnection AddConnection(IShape source, IShape target, bool isUndoable = false)
Parameters
IShape source

The source or start shape of the connection.

IShape target

The target or end shape of the connection.

System.Boolean isUndoable

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

Returns
IConnection

Implements
IGraph.AddConnection(IShape, IShape, Boolean)

AddConnection(IShape, IShape, String, Boolean)

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

Declaration
public IConnection AddConnection(IShape source, IShape target, string connectorsPosition, bool isUndoable = false)
Parameters
IShape source

The source or start shape of the connection.

IShape target

The target or end shape of the connection.

System.String connectorsPosition

The connectors position.

System.Boolean isUndoable

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

Returns
IConnection

AddConnection(IShape, IShape, String, String, Boolean)

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

Declaration
public IConnection AddConnection(IShape source, IShape target, string sourceConnector, string targetConnector, bool isUndoable = false)
Parameters
IShape source

The source.

IShape target

The target.

System.String sourceConnector

The source connector position.

System.String targetConnector

The target connector position.

System.Boolean isUndoable

If set to true is undoable.

Returns
IConnection

AddConnection(Point, Point, Boolean)

Adds a floating connection.

Declaration
public IConnection AddConnection(Point startPoint, Point endPoint, bool isUndoable = false)
Parameters
Point startPoint

The source (starting) point of the connection.

Point endPoint

The target (end) point of the connection.

System.Boolean isUndoable

True, if this action is undoable.

Returns
IConnection

Returns the added connection.

Implements
IGraph.AddConnection(Point, Point, Boolean)

AddGlidingConnection(IShape, IShape, Boolean)

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

Declaration
public IConnection AddGlidingConnection(IShape source, IShape target, bool isUndoable = false)
Parameters
IShape source

The source or start shape of the connection.

IShape target

The target or end shape of the connection.

System.Boolean isUndoable

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.

AddImageShape(Stream, Point)

Adds a shape with image content.

Declaration
public void AddImageShape(Stream source, Point position)
Parameters
System.IO.Stream source

Point position

AddShape(Object, Geometry, Nullable<Point>, Boolean)

Adds a new shape to the diagram.

Declaration
public IShape AddShape(object content, Geometry geometry = null, Point? position = default(Point? ), bool isUndoable = false)
Parameters
System.Object content

The content of the shape.

Geometry geometry

The geometry.

System.Nullable<Point> position

The position.

System.Boolean isUndoable

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.

AddShape(IShape, Nullable<Point>, Boolean)

Adds the given shape to the diagram.

Declaration
public IShape AddShape(IShape shape, Point? position = default(Point? ), bool isUndoable = false)
Parameters
IShape shape

The shape to add.

System.Nullable<Point> position

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

System.Boolean isUndoable

If set to true the action is undoable.

Returns
IShape

Implements
IGraph.AddShape(IShape, Nullable<Point>, Boolean)

Align(Alignment, IEnumerable<IShape>)

Aligns the given shapes.

Declaration
public void Align(Alignment alignment, IEnumerable<IShape> shapes)
Parameters
Alignment alignment

System.Collections.Generic.IEnumerable<IShape> shapes

ArrangeOverride(SizeF)

Arranges the child elements of the diagram and positions scrollbars and adorners.

Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF finalSize

The final size that the diagram should use to arrange its child elements.

Returns
System.Drawing.SizeF

The actual size used by the diagram.

Overrides
LightVisualElement.ArrangeOverride(SizeF)

AutoFit()

Zoom and pans the diagram in such a way that all items will fit into the currently visible area of the canvas.

Declaration
protected void AutoFit()

AutoFit(Thickness, Boolean)

Zoom and pans the diagram in such a way that all items will fit into the currently visible area of the canvas. If there are no items or the visible area is with empty size or the margin is greater than the visible area no action will be performed.

Declaration
protected void AutoFit(Thickness margin, bool useAnimation = true)
Parameters
Thickness margin

The margin to be used as whitespace border around the diagram items.

System.Boolean useAnimation

Determines whether animations should be used.

AutoFitAsync(Thickness, Boolean)

Zoom and pans the diagram asynchronously in such a way that all items will fit into the currently visible area of the canvas. If there are no items or the visible area is with empty size or the margin is greater than the visible area no action will be performed.

Declaration
protected void AutoFitAsync(Thickness margin, bool useAnimation = true)
Parameters
Thickness margin

The margin to be used as whitespace border around the diagram items.

System.Boolean useAnimation

Determines whether animations should be used.

BeginBatchTransformation()

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.

Declaration
public DiagramLayoutState BeginBatchTransformation()
Returns
DiagramLayoutState

Implements
IGraph.BeginBatchTransformation()
See Also
CommitBatchTransformation(DiagramLayoutState, DiagramLayoutState, Boolean, Boolean, LayoutType, Object)

BeginUpdate()

Begins the update.

Declaration
public void BeginUpdate()

BringForward(IEnumerable<IDiagramItem>, Boolean)

Brings the items forward.

Declaration
public void BringForward(IEnumerable<IDiagramItem> items, bool isUndoable = true)
Parameters
System.Collections.Generic.IEnumerable<IDiagramItem> items

System.Boolean isUndoable

BringIntoView(Object, Double, Boolean)

Brings the provided item to the center of the view port with the requested zoom.

Declaration
public bool BringIntoView(object item, double zoomLevel = 1, bool useAnimation = true)
Parameters
System.Object item

The shape to bring to the center of the view port. If the item is null or has with invalid position/size (NaN or infinity) the operation will not be executed.

System.Double zoomLevel

The zoom level. It will be coerced according to Zoom property restriction.

System.Boolean useAnimation

Determines whether an animation will be used.

Returns
System.Boolean

Whether the operation has bee executed successfully or not.

BringIntoView(Point, Double, Boolean)

Brings the provided point into the top left corner of the view port with the requested zoom.

Declaration
public bool BringIntoView(Point position, double zoomLevel = 1, bool useAnimation = true)
Parameters
Point position

The point to bring to the top left view port corner. If the position is invalid (NaN or infinity) the operation will not be executed.

System.Double zoomLevel

The zoom level. It will be coerced according to Zoom property restriction.

System.Boolean useAnimation

Determines whether an animation will be used.

Returns
System.Boolean

Whether the operation has bee executed successfully or not.

BringIntoView(Rect, Boolean)

Makes the requested rectangle the new view port. After the rectangle is centered in the view port a zoom operation stretches the rectangle to occupy the whole view port. The zoom is coerced according to Zoom property restriction.

Declaration
public bool BringIntoView(Rect newViewPort, bool useAnimation = true)
Parameters
Rect newViewPort

The rect to bring into view. If the rectangle is empty the operation will not be executed.

System.Boolean useAnimation

Determines whether an animation will be used.

Returns
System.Boolean

Whether the operation has bee executed successfully or not.

BringToFront(IEnumerable<IDiagramItem>, Boolean)

Brings the items to front.

Declaration
public void BringToFront(IEnumerable<IDiagramItem> items, bool isUndoable = true)
Parameters
System.Collections.Generic.IEnumerable<IDiagramItem> items

System.Boolean isUndoable

CleanContainerForItemOverride(FrameworkElement, Object)

Cleans the container for item override.

Declaration
protected virtual void CleanContainerForItemOverride(FrameworkElement container, object item)
Parameters
FrameworkElement container

The container.

System.Object item

The item.

Clear()

Clears the diagram and resets the document.

Declaration
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.

CommitBatchTransformation(DiagramLayoutState, DiagramLayoutState, Boolean, Boolean, LayoutType, Object)

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

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

The initial state.

DiagramLayoutState finalState

The final state.

System.Boolean animate

If set to true the layout will be animated.

System.Boolean execute

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

LayoutType type

The layout type that has been applied.

System.Object settings

The layout specific settings used for the layout.

Implements
IGraph.CommitBatchTransformation(DiagramLayoutState, DiagramLayoutState, Boolean, Boolean, LayoutType, Object)
Remarks

The animation tremendously decreases the performance.

See Also
BeginBatchTransformation()

Copy()

Copies the currently selected items of the diagram.

Declaration
public void Copy()

CreateChildElements()

Creates the child elements that make up the diagram's visual structure including scrollbars, adorners, and diagram surface.

Declaration
protected override void CreateChildElements()
Overrides
RadElement.CreateChildElements()

CreateDiagramDataLayer()

Creates a data layer for the diagram that manages data binding and visualization.

Declaration
protected virtual DiagramDataLayer CreateDiagramDataLayer()
Returns
DiagramDataLayer

A new instance of DiagramDataLayer for the diagram.

CreateInputBehavior()

Creates the input behavior for the diagram that handles user interactions and input processing.

Declaration
protected virtual DiagramInputBehavior CreateInputBehavior()
Returns
DiagramInputBehavior

A new instance of DiagramInputBehavior for handling diagram interactions.

CreatePanel()

Creates a panel element for the diagram viewport.

Declaration
protected virtual RadElement CreatePanel()
Returns
RadElement

A new RadElement that serves as the diagram panel.

Cut()

Cuts the currently selected items of the diagram.

Declaration
public void Cut()

Delete()

Deletes the currently selected items of the diagram.

Declaration
public virtual void Delete()

DeselectAll()

Deselects all shapes in the diagram.

Declaration
public void DeselectAll()

Deserialize(SerializationInfo)

Deserializes the specified info.

Declaration
public virtual void Deserialize(SerializationInfo info)
Parameters
SerializationInfo info

The info.

Implements
ISerializable.Deserialize(SerializationInfo)

DpiScaleChanged(SizeF)

Called when the DPI scale factor changes and adjusts the diagram zoom accordingly.

Declaration
public override void DpiScaleChanged(SizeF scaleFactor)
Parameters
System.Drawing.SizeF scaleFactor

The new DPI scale factor to apply.

Overrides
RadElement.DpiScaleChanged(SizeF)

EndUpdate(Boolean)

Ends the update.

Declaration
public void EndUpdate(bool performUpdate = true)
Parameters
System.Boolean performUpdate

Tells the view whether an update is required or not.

Export(String)

Exports the Diagram into bmp.

Declaration
public void Export(string fileName)
Parameters
System.String fileName

ExportToImage()

Exports RadDiagram to Image

Declaration
public Image ExportToImage()
Returns
System.Drawing.Image

The Image. Should be manually disposed.

FitTo(Rect, Boolean)

Makes the requested rectangle the new view port. After the rectangle is placed in the top left corner of the view port a zoom operation stretches the rectangle to occupy the whole view port. The zoom is coerced according to Zoom property restriction.

Declaration
[Obsolete("This method will be removed. Use BringIntoView instead.", false)]
public bool FitTo(Rect newViewport, bool useAnimation = true)
Parameters
Rect newViewport

The new viewport. If the viewport is invalid (NaN or infinity for position or size) the operation will not be executed. The desired zoom level after the bring operation is determined by the ratio of new viewport width to current viewport width.

System.Boolean useAnimation

Determines whether an animation will be used.

Returns
System.Boolean

Whether the operation has bee executed successfully or not.

ForceUpdateLayout()

Declaration
protected virtual void ForceUpdateLayout()

GetConnectionContainerForItemOverride(Object)

Gets the connection container for item override.

Declaration
protected virtual IConnection GetConnectionContainerForItemOverride(object item)
Parameters
System.Object item

The item.

Returns
IConnection

GetScrollBarsSize()

Gets the size required for the scrollbars based on current visibility and theme settings.

Declaration
protected Size GetScrollBarsSize()
Returns
System.Drawing.Size

A System.Drawing.Size representing the space needed for scrollbars.

GetShapeContainerForItemOverride(Object)

Gets the shape container for item override.

Declaration
protected virtual IShape GetShapeContainerForItemOverride(object item)
Parameters
System.Object item

The item.

Returns
IShape

GetShapeContainerForItemOverride(IContainerItem)

Gets the 'container shape' container for item override.

Declaration
protected virtual IContainerShape GetShapeContainerForItemOverride(IContainerItem item)
Parameters
IContainerItem item

The item.

Returns
IContainerShape

GetTextShapeContainerForItemOverride(Object)

Gets the text shape container for item override.

Declaration
protected virtual IShape GetTextShapeContainerForItemOverride(object item)
Parameters
System.Object item

The item.

Returns
IShape

Group(String, Boolean, IGroupable[])

Groups the specified items.

Declaration
public IGroup Group(string groupName = null, bool isUndoable = false, params IGroupable[] items)
Parameters
System.String groupName

Name of the new group.

System.Boolean isUndoable

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

IGroupable[] items

The groups items to ungroup.

Returns
IGroup

Implements
IGraph.Group(String, Boolean, IGroupable[])

Group(String, IGroupable[])

Groups the specified items.

Declaration
public IGroup Group(string groupName = null, params IGroupable[] items)
Parameters
System.String groupName

Name of the new group.

IGroupable[] items

The groups items to ungroup.

Returns
IGroup

Implements
IGraph.Group(String, IGroupable[])

IsInViewport(IDiagramItem)

Checks if the diagram item is in the viewport.

Declaration
public bool IsInViewport(IDiagramItem item)
Parameters
IDiagramItem item

Returns
System.Boolean

IsItemItsOwnConnectionContainerOverride(Object)

Determines whether [is item its own connection container override] [the specified item].

Declaration
protected virtual bool IsItemItsOwnConnectionContainerOverride(object item)
Parameters
System.Object item

The item.

Returns
System.Boolean

True if [is item its own connection container override] [the specified item]; otherwise, false.

IsItemItsOwnShapeContainerOverride(Object)

Determines whether the item is a container on its own.

Declaration
protected virtual bool IsItemItsOwnShapeContainerOverride(object item)
Parameters
System.Object item

The item.

Returns
System.Boolean

True if the item is its own container; otherwise, false.

LayoutAsync(LayoutType, Object)

Organizes the diagram using the specified layout asynchronously.

Declaration
public void LayoutAsync(LayoutType type = LayoutType.Sugiyama, object settings = null)
Parameters
LayoutType type

The layout type to apply.

System.Object settings

The settings specific to the layout type.

See Also
TreeLayoutSettings
SugiyamaSettings
TreeLayoutType

Load(String)

Loads the specified serialization string.

Declaration
public void Load(string serializationValue)
Parameters
System.String serializationValue

The serialization value.

LoadFromFile(String)

Load Diagram to XML file

Declaration
public void LoadFromFile(string fileName)
Parameters
System.String fileName

OnBindingContextChanged(EventArgs)

Raises the BindingContextChanged event.

Declaration
protected virtual void OnBindingContextChanged(EventArgs e)
Parameters
System.EventArgs e

The System.EventArgs instance containing the event data.

OnBoundsChanged(RadPropertyChangedEventArgs)

Called when the bounds of the element change and handles diagram size updates.

Declaration
protected override void OnBoundsChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs e

The event data that contains bounds change information.

Overrides
UIItemBase.OnBoundsChanged(RadPropertyChangedEventArgs)

OnCanExecuteDeleteCommandOverride(Object, CanExecuteRoutedEventArgs)

Determines whether the delete command can be executed based on the current selection.

Declaration
protected virtual void OnCanExecuteDeleteCommandOverride(object sender, CanExecuteRoutedEventArgs e)
Parameters
System.Object sender

The source of the event.

CanExecuteRoutedEventArgs e

The command execution event arguments.

OnDeleteCommandExecutedOverride(Object, ExecutedRoutedEventArgs)

Executes the delete command for the currently selected diagram items.

Declaration
protected virtual void OnDeleteCommandExecutedOverride(object sender, ExecutedRoutedEventArgs e)
Parameters
System.Object sender

The source of the event.

ExecutedRoutedEventArgs e

The command execution event arguments.

OnIsConnectorsManipulationEnabledChanged(Boolean, Boolean)

Called when the connector manipulation enabled property changes and updates diagram items accordingly.

Declaration
protected virtual void OnIsConnectorsManipulationEnabledChanged(bool oldValue, bool newValue)
Parameters
System.Boolean oldValue

The previous value of the property.

System.Boolean newValue

The new value of the property.

OnKeyDownHandled(Object, KeyEventArgs)

Handles key down events for the diagram and processes diagram-specific keyboard shortcuts and commands.

Declaration
protected virtual void OnKeyDownHandled(object sender, KeyEventArgs e)
Parameters
System.Object sender

The source of the event.

System.Windows.Forms.KeyEventArgs e

The key event arguments containing key information.

OnKeyUpHandled(Object, KeyEventArgs)

Handles key up events for the diagram.

Declaration
protected virtual void OnKeyUpHandled(object sender, KeyEventArgs e)
Parameters
System.Object sender

The source of the event.

System.Windows.Forms.KeyEventArgs e

The key event arguments containing key information.

OnLoaded()

Called when the element is loaded and initializes the diagram layout and viewport.

Declaration
protected override void OnLoaded()
Overrides
LightVisualElement.OnLoaded()

OnMouseDown(MouseEventArgs)

Called when a mouse button is pressed down over the diagram.

Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs e

The mouse event arguments containing button and position information.

Overrides
RadItem.OnMouseDown(MouseEventArgs)

OnMouseMove(MouseEventArgs)

Called when the mouse moves over the diagram and delegates processing to the input behavior.

Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs e

The mouse event arguments containing position and button information.

Overrides
LightVisualElement.OnMouseMove(MouseEventArgs)

OnMouseWheel(MouseEventArgs)

Called when the mouse wheel is used to zoom the diagram.

Declaration
protected override void OnMouseWheel(MouseEventArgs e)
Parameters
System.Windows.Forms.MouseEventArgs e

The instance containing the event data.

Overrides
RadElement.OnMouseWheel(MouseEventArgs)

OnPanGesture(PanGestureEventArgs)

Handles pan gesture events for touch-based diagram navigation and panning.

Declaration
protected override void OnPanGesture(PanGestureEventArgs args)
Parameters
PanGestureEventArgs args

The pan gesture event arguments containing gesture information.

Overrides
RadItem.OnPanGesture(PanGestureEventArgs)

OnPositionChanged(Point, Point)

Called when the Position property changes.

Declaration
protected virtual void OnPositionChanged(Point oldPosition, Point newPosition)
Parameters
Point oldPosition

Point newPosition

OnRouteConnectionsChanged(Boolean, Boolean)

Called on route connections property change.

Declaration
protected virtual void OnRouteConnectionsChanged(bool newValue, bool oldValue)
Parameters
System.Boolean newValue

The new value.

System.Boolean oldValue

The old value.

OnShapeClicked(ShapeRoutedEventArgs)

Declaration
protected virtual void OnShapeClicked(ShapeRoutedEventArgs e)
Parameters
ShapeRoutedEventArgs e

OnShapeDoubleClicked(ShapeRoutedEventArgs)

Declaration
protected virtual void OnShapeDoubleClicked(ShapeRoutedEventArgs e)
Parameters
ShapeRoutedEventArgs e

OnZoomChanged(Double, Double)

Called when the Zoomproperty changes.

Declaration
protected virtual void OnZoomChanged(double oldZoom, double newZoom)
Parameters
System.Double oldZoom

System.Double newZoom

OnZoomGesture(ZoomGestureEventArgs)

Handles zoom gesture events for touch-based diagram zooming.

Declaration
protected override void OnZoomGesture(ZoomGestureEventArgs args)
Parameters
ZoomGestureEventArgs args

The zoom gesture event arguments containing zoom information.

Overrides
RadItem.OnZoomGesture(ZoomGestureEventArgs)

PanToPosition(Point)

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.

Declaration
public virtual void PanToPosition(Point newPosition)
Parameters
Point newPosition

The new position.

Paste()

Pastes the content of the clipboard onto the diagram.

Declaration
public virtual void Paste()

PrepareConnectionContainerForItemOverride(FrameworkElement, Object)

Prepares the container for item override.

Declaration
protected virtual void PrepareConnectionContainerForItemOverride(FrameworkElement container, object item)
Parameters
FrameworkElement container

The container.

System.Object item

The item.

PrepareShapeContainerForItemOverride(FrameworkElement, Object)

Prepares the container for item override.

Declaration
protected virtual void PrepareShapeContainerForItemOverride(FrameworkElement container, object item)
Parameters
FrameworkElement container

The container.

System.Object item

The item.

PublishDiagramEvent(DiagramEvent, Object)

Raises generic event.

Declaration
protected virtual bool PublishDiagramEvent(DiagramEvent diagramEvent, object args)
Parameters
DiagramEvent diagramEvent

System.Object args

Returns
System.Boolean

Redo()

Performs redo on the last undone action.

Declaration
public void Redo()

RemoveConnection(IConnection, Boolean)

Removes the connection.

Declaration
public void RemoveConnection(IConnection connection, bool isUndoable = false)
Parameters
IConnection connection

The connection.

System.Boolean isUndoable

If set to true the action is undoable.

Implements
IGraph.RemoveConnection(IConnection, Boolean)

RemoveShape(IShape, Boolean)

Removes the shape.

Declaration
public void RemoveShape(IShape shape, bool isUndoable = false)
Parameters
IShape shape

The shape.

System.Boolean isUndoable

If set to true the action is undoable.

Implements
IGraph.RemoveShape(IShape, Boolean)

ResetTheme()

Resets the theme settings for the diagram.

Declaration
public void ResetTheme()

ResetViewport(Boolean)

Brings the (0, 0) point into the top left corner of the view port with zoom equal to 1.

Declaration
public void ResetViewport(bool useAnimation = true)
Parameters
System.Boolean useAnimation

Determines whether an animation will be used.

Save()

Saves the diagram.

Declaration
public string Save()
Returns
System.String

Returns the serialization string.

SaveToFile(String)

Save Diagram to XML file

Declaration
public void SaveToFile(string fileName)
Parameters
System.String fileName

Scroll(Double, Double)

Scrolls with specified horizontal and vertical offset.

Declaration
public void Scroll(double horizontalOffset, double verticalOffset)
Parameters
System.Double horizontalOffset

The horizontal offset.

System.Double verticalOffset

The vertical offset.

SelectAll()

Selects all shapes in the diagram.

Declaration
public void SelectAll()

SendBackward(IEnumerable<IDiagramItem>, Boolean)

Sends the items backward.

Declaration
public void SendBackward(IEnumerable<IDiagramItem> items, bool isUndoable = true)
Parameters
System.Collections.Generic.IEnumerable<IDiagramItem> items

System.Boolean isUndoable

SendToBack(IEnumerable<IDiagramItem>, Boolean)

Sends the items to back.

Declaration
public void SendToBack(IEnumerable<IDiagramItem> items, bool isUndoable = true)
Parameters
System.Collections.Generic.IEnumerable<IDiagramItem> items

System.Boolean isUndoable

Serialize()

Serializes this instance.

Declaration
public virtual SerializationInfo Serialize()
Returns
SerializationInfo

Implements
ISerializable.Serialize()

SetLayout(LayoutType, Object)

Organizes the diagram using the specified layout.

Declaration
public void SetLayout(LayoutType type = LayoutType.Sugiyama, object settings = null)
Parameters
LayoutType type

The layout type to apply.

System.Object settings

The settings specific to the layout type.

See Also
TreeLayoutSettings
SugiyamaSettings
TreeLayoutType

ShouldSerializeProperty(PropertyDescriptor)

Determines whether a property should be serialized based on the property descriptor.

Declaration
public override bool? ShouldSerializeProperty(PropertyDescriptor property)
Parameters
System.ComponentModel.PropertyDescriptor property

The property descriptor to check for serialization.

Returns
System.Nullable<System.Boolean>

True if the property should be serialized; otherwise, false or null for default behavior.

Overrides
LightVisualElement.ShouldSerializeProperty(PropertyDescriptor)

Snap(IEnumerable<IShape>)

Snaps the specified shapes.

Declaration
public void Snap(IEnumerable<IShape> shapes)
Parameters
System.Collections.Generic.IEnumerable<IShape> shapes

TryExecuteCommand(Keys, Keys)

Declaration
public void TryExecuteCommand(Keys key, Keys modifier)
Parameters
System.Windows.Forms.Keys key

System.Windows.Forms.Keys modifier

TryExecuteCommand(RoutedUICommand, String)

Declaration
public void TryExecuteCommand(RoutedUICommand routedUiCommand, string commandParameter = "")
Parameters
RoutedUICommand routedUiCommand

System.String commandParameter

Undo()

Performs undo on the last action.

Declaration
public void Undo()

Ungroup(Boolean, IGroup[])

Ungroups the specified items.

Declaration
public void Ungroup(bool isUndoable, params IGroup[] groups)
Parameters
System.Boolean isUndoable

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

IGroup[] groups

The groups items to ungroup.

Implements
IGraph.Ungroup(Boolean, IGroup[])

Ungroup(IGroup[])

Ungroups the specified items.

Declaration
public void Ungroup(params IGroup[] groups)
Parameters
IGroup[] groups

The groups items to ungroup.

Implements
IGraph.Ungroup(IGroup[])

UpdateRectSelection(Rect)

Updates the rectangle selection.

Declaration
protected void UpdateRectSelection(Rect bounds)
Parameters
Rect bounds

ZoomIn(Nullable<Double>, Nullable<Point>)

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

Declaration
public void ZoomIn(double? factor = default(double? ), Point? targetPoint = default(Point? ))
Parameters
System.Nullable<System.Double> factor

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

System.Nullable<Point> targetPoint

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

ZoomOut(Nullable<Double>, Nullable<Point>)

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

Declaration
public void ZoomOut(double? factor = default(double? ), Point? targetPoint = default(Point? ))
Parameters
System.Nullable<System.Double> factor

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

System.Nullable<Point> targetPoint

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

Events

AdditionalContentActivated

Occurs when AdditionContent is activated.

Declaration
public event EventHandler<AdditionalContentActivatedEventArgs> AdditionalContentActivated
Event Type
System.EventHandler<AdditionalContentActivatedEventArgs>

BindingContextChanged

Declaration
public event EventHandler BindingContextChanged
Event Type
System.EventHandler

CommandExecuted

Occurs when a command is executed.

Declaration
public event EventHandler<CommandEventArgs> CommandExecuted
Event Type
System.EventHandler<CommandEventArgs>

ConnectionAdded

Occurs when a connection is added.

Declaration
public event EventHandler<GenericEventArgs<IConnection>> ConnectionAdded
Event Type
System.EventHandler<GenericEventArgs<IConnection>>

ConnectionAdding

Occurs when the connection is being added.

Declaration
public event EventHandler<GenericEventArgs<IConnection>> ConnectionAdding
Event Type
System.EventHandler<GenericEventArgs<IConnection>>

ConnectionClicked

Occurs when connection is clicked.

Declaration
public event EventHandler<GenericEventArgs<IConnection>> ConnectionClicked
Event Type
System.EventHandler<GenericEventArgs<IConnection>>

ConnectionDeserialized

Occurs when a connection has been deserialized.

Declaration
public event EventHandler<SerializationEventArgs<IConnection>> ConnectionDeserialized
Event Type
System.EventHandler<SerializationEventArgs<IConnection>>

Remarks

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

See Also
ConnectionSerialized

ConnectionManipulationCompleted

Occurs when the connection manipulation has completed.

Declaration
public event EventHandler<ManipulationEventArgs> ConnectionManipulationCompleted
Event Type
System.EventHandler<ManipulationEventArgs>

ConnectionManipulationStarted

Occurs before the connection manipulation has started.

Declaration
public event EventHandler<ManipulationEventArgs> ConnectionManipulationStarted
Event Type
System.EventHandler<ManipulationEventArgs>

ConnectionSerialized

Occurs when a connection has been serialized.

Declaration
public event EventHandler<SerializationEventArgs<IConnection>> ConnectionSerialized
Event Type
System.EventHandler<SerializationEventArgs<IConnection>>

Remarks

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

See Also
ConnectionDeserialized

ConnectorActivationChanged

Occurs after a connector activation or deactivation.

Declaration
public event EventHandler<ConnectorActivationChangedEventArgs> ConnectorActivationChanged
Event Type
System.EventHandler<ConnectorActivationChangedEventArgs>

Deserialized

Occurs when the diagram has been deserialized.

Declaration
public event RoutedEventHandler Deserialized
Event Type
RoutedEventHandler

DiagramLayoutComplete

Occurs when the diagram layout has completed.

Declaration
public event EventHandler<DiagramLayoutEventArgs> DiagramLayoutComplete
Event Type
System.EventHandler<DiagramLayoutEventArgs>

Drag

Occurs when an item is dragged.

Declaration
public event EventHandler<DragRoutedEventArgs> Drag
Event Type
System.EventHandler<DragRoutedEventArgs>

GraphSourceChanged

Occurs when the graph source has changed.

Declaration
public event EventHandler GraphSourceChanged
Event Type
System.EventHandler

GraphSourceChanging

Occurs when the graph source begins changing.

Declaration
public event EventHandler GraphSourceChanging
Event Type
System.EventHandler

GroupsChanged

Occurs when count of the groups change.

Declaration
public event EventHandler<DiagramItemsChangedEventArgs> GroupsChanged
Event Type
System.EventHandler<DiagramItemsChangedEventArgs>

ItemsChanged

Occurs when count of the items change.

Declaration
public event EventHandler<DiagramItemsChangedEventArgs> ItemsChanged
Event Type
System.EventHandler<DiagramItemsChangedEventArgs>

ItemsChanging

Occurs while the diagram items are changing.

Declaration
public event EventHandler<DiagramItemsChangingEventArgs> ItemsChanging
Event Type
System.EventHandler<DiagramItemsChangingEventArgs>

MetadataDeserialized

Occurs when the diagram's metadata has been deserialized.

Declaration
public event EventHandler<SerializationInfoEventArgs> MetadataDeserialized
Event Type
System.EventHandler<SerializationInfoEventArgs>

Remarks

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

MetadataSerialized

Occurs when the diagram's metadata has been serialized.

Declaration
public event EventHandler<SerializationInfoEventArgs> MetadataSerialized
Event Type
System.EventHandler<SerializationInfoEventArgs>

Remarks

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

See Also
MetadataDeserialized

Pan

Occurs after the diagram is panned.

Declaration
public event EventHandler<PositionChangedRoutedEventArgs> Pan
Event Type
System.EventHandler<PositionChangedRoutedEventArgs>

PositionChanged

Occurs when the position has changed.

Declaration
public event EventHandler<PositionChangedEventArgs> PositionChanged
Event Type
System.EventHandler<PositionChangedEventArgs>

PreviewAdditionalContentActivated

Occurs when AdditionContent is about to be activated.

Declaration
public event EventHandler<AdditionalContentActivatedEventArgs> PreviewAdditionalContentActivated
Event Type
System.EventHandler<AdditionalContentActivatedEventArgs>

PreviewDrag

Occurs before an item is dragged.

Declaration
public event EventHandler<DragRoutedEventArgs> PreviewDrag
Event Type
System.EventHandler<DragRoutedEventArgs>

PreviewPan

Occurs before the diagram is panned.

Declaration
public event EventHandler<PositionChangedRoutedEventArgs> PreviewPan
Event Type
System.EventHandler<PositionChangedRoutedEventArgs>

PreviewResize

Occurs before an item is resized.

Declaration
public event EventHandler<ResizeRoutedEventArgs> PreviewResize
Event Type
System.EventHandler<ResizeRoutedEventArgs>

PreviewRotate

Occurs before an item is rotated.

Declaration
public event EventHandler<RoutedEventArgs> PreviewRotate
Event Type
System.EventHandler<RoutedEventArgs>

PreviewSelectionChanged

Occurs when the selection of the diagram starts changing.

Declaration
public event EventHandler PreviewSelectionChanged
Event Type
System.EventHandler

PreviewZoom

Occurs before the zoom has been changed.

Declaration
public event EventHandler<DiagramZoomEventArgs> PreviewZoom
Event Type
System.EventHandler<DiagramZoomEventArgs>

Resize

Occurs when an item is resized.

Declaration
public event EventHandler<ResizingEventArgs> Resize
Event Type
System.EventHandler<ResizingEventArgs>

Rotate

Occurs when an item is rotated.

Declaration
public event EventHandler<RotateRoutedEventArgs> Rotate
Event Type
System.EventHandler<RotateRoutedEventArgs>

SelectionBoundsChanged

Occurs when the selection bounds of the diagram changes.

Declaration
public event EventHandler SelectionBoundsChanged
Event Type
System.EventHandler

SelectionChanged

Occurs when the selection of the diagram changes.

Declaration
public event EventHandler SelectionChanged
Event Type
System.EventHandler

Serialized

Occurs after the diagram has been serialized.

Declaration
public event RoutedEventHandler Serialized
Event Type
RoutedEventHandler

ShapeClicked

Occurs when shape is clicked.

Declaration
public event EventHandler<ShapeRoutedEventArgs> ShapeClicked
Event Type
System.EventHandler<ShapeRoutedEventArgs>

ShapeDeserialized

Occurs when a shape has been deserialized.

Declaration
public event EventHandler<SerializationEventArgs<IShape>> ShapeDeserialized
Event Type
System.EventHandler<SerializationEventArgs<IShape>>

Remarks

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

ShapeDoubleClicked

Occurs when a shape has been double-clicked.

Declaration
public event EventHandler<ShapeRoutedEventArgs> ShapeDoubleClicked
Event Type
System.EventHandler<ShapeRoutedEventArgs>

ShapeSerialized

Occurs when a shape has been serialized.

Declaration
public event EventHandler<SerializationEventArgs<IShape>> ShapeSerialized
Event Type
System.EventHandler<SerializationEventArgs<IShape>>

Remarks

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

See Also
ShapeDeserialized

ViewportChanged

Occurs when the viewport has changed.

Declaration
public event EventHandler<PropertyEventArgs<Rect>> ViewportChanged
Event Type
System.EventHandler<PropertyEventArgs<Rect>>

VisualChildrenChanged

Occurs when [children changed].

Declaration
public event EventHandler VisualChildrenChanged
Event Type
System.EventHandler

ZoomChanged

Occurs when the zoom has been changed.

Declaration
public event EventHandler<DiagramZoomEventArgs> ZoomChanged
Event Type
System.EventHandler<DiagramZoomEventArgs>

Explicit Interface Implementations

IGraph.IsVirtualizing

Declaration
bool IGraph.IsVirtualizing { get; }
Returns
System.Boolean

Implements
IGraph.IsVirtualizing

IGraphInternal.ActiveConnector

Declaration
IConnector IGraphInternal.ActiveConnector { get; }
Returns
IConnector

Implements
IGraphInternal.ActiveConnector

IGraphInternal.GetAdornerPartResolver()

Declaration
IAdornerPartResolver IGraphInternal.GetAdornerPartResolver()
Returns
IAdornerPartResolver

Implements
IGraphInternal.GetAdornerPartResolver()

IGraphInternal.GetContainerFromItem(Object)

Declaration
IDiagramItem IGraphInternal.GetContainerFromItem(object item)
Parameters
System.Object item

Returns
IDiagramItem

Implements
IGraphInternal.GetContainerFromItem(Object)

IGraphInternal.GetItemFromContainer(IDiagramItem)

Declaration
object IGraphInternal.GetItemFromContainer(IDiagramItem container)
Parameters
IDiagramItem container

Returns
System.Object

Implements
IGraphInternal.GetItemFromContainer(IDiagramItem)

IGraphInternal.GetSerializationInfo()

Declaration
SerializationInfo IGraphInternal.GetSerializationInfo()
Returns
SerializationInfo

Implements
IGraphInternal.GetSerializationInfo()

IGraphInternal.IntersectingConnections(IConnection, Nullable<Rect>)

Returns all intersecting connections that are below or above the given one.

Declaration
IList<IConnection> IGraphInternal.IntersectingConnections(IConnection connection, Rect? bounds)
Parameters
IConnection connection

The connection.

System.Nullable<Rect> bounds

The bounds. If null the connection's Bounds are used.

Returns
System.Collections.Generic.IList<IConnection>

Implements
IGraphInternal.IntersectingConnections(IConnection, Nullable<Rect>)

IGraphInternal.IsInternalItemsChange

Declaration
bool IGraphInternal.IsInternalItemsChange { get; set; }
Returns
System.Boolean

Implements
IGraphInternal.IsInternalItemsChange

IGraphInternal.PublishDiagramEvent(DiagramEvent, Object)

Declaration
bool IGraphInternal.PublishDiagramEvent(DiagramEvent diagramEvent, object args)
Parameters
DiagramEvent diagramEvent

System.Object args

Returns
System.Boolean

Implements
IGraphInternal.PublishDiagramEvent(DiagramEvent, Object)

IGraphInternal.RaiseItemsChangedEvent(NotifyCollectionChangedAction, IEnumerable, IEnumerable)

Declaration
void IGraphInternal.RaiseItemsChangedEvent(NotifyCollectionChangedAction action, IEnumerable newItems, IEnumerable oldItems)
Parameters
System.Collections.Specialized.NotifyCollectionChangedAction action

System.Collections.IEnumerable newItems

System.Collections.IEnumerable oldItems

Implements
IGraphInternal.RaiseItemsChangedEvent(NotifyCollectionChangedAction, IEnumerable, IEnumerable)

IGraphInternal.RaiseItemsChangingEvent(NotifyCollectionChangedAction, IEnumerable, IEnumerable)

Declaration
bool IGraphInternal.RaiseItemsChangingEvent(NotifyCollectionChangedAction action, IEnumerable newItems, IEnumerable oldItems)
Parameters
System.Collections.Specialized.NotifyCollectionChangedAction action

System.Collections.IEnumerable newItems

System.Collections.IEnumerable oldItems

Returns
System.Boolean

Implements
IGraphInternal.RaiseItemsChangingEvent(NotifyCollectionChangedAction, IEnumerable, IEnumerable)

IGraphInternal.Segmentation

Declaration
ISegmentationService IGraphInternal.Segmentation { get; }
Returns
ISegmentationService

Implements
IGraphInternal.Segmentation

IGraphInternal.TransformPoint(Point)

Declaration
Point IGraphInternal.TransformPoint(Point point)
Parameters
Point point

Returns
Point

Implements
IGraphInternal.TransformPoint(Point)

IGraphInternal.UpdateAdorners()

Declaration
void IGraphInternal.UpdateAdorners()
Implements
IGraphInternal.UpdateAdorners()

IGraphInternal.UpdateRectSelection(Rect)

Declaration
void IGraphInternal.UpdateRectSelection(Rect bounds)
Parameters
Rect bounds

Implements
IGraphInternal.UpdateRectSelection(Rect)

IGraphInternal.UpdateScrollbars()

Declaration
void IGraphInternal.UpdateScrollbars()
Implements
IGraphInternal.UpdateScrollbars()

ISupportContainerGenerator<RadDiagramItem>.CleanContainerForItemOverride(RadDiagramItem, Object)

Cleans the container for item override.

Declaration
void ISupportContainerGenerator<RadDiagramItem>.CleanContainerForItemOverride(RadDiagramItem container, object item)
Parameters
RadDiagramItem container

The container.

System.Object item

The item.

Implements
ISupportContainerGenerator<T>.CleanContainerForItemOverride(T, Object)

ISupportContainerGenerator<RadDiagramItem>.GetConnectionContainerForItemOverride(Object)

Gets the connection container for item override.

Declaration
IConnection ISupportContainerGenerator<RadDiagramItem>.GetConnectionContainerForItemOverride(object item)
Parameters
System.Object item

The item.

Returns
IConnection

Implements
ISupportContainerGenerator<T>.GetConnectionContainerForItemOverride(Object)

ISupportContainerGenerator<RadDiagramItem>.GetShapeContainerForItemOverride(Object)

Gets the shape container for item override.

Declaration
IShape ISupportContainerGenerator<RadDiagramItem>.GetShapeContainerForItemOverride(object item)
Parameters
System.Object item

The item.

Returns
IShape

Implements
ISupportContainerGenerator<T>.GetShapeContainerForItemOverride(Object)

ISupportContainerGenerator<RadDiagramItem>.GetShapeContainerForItemOverride(IContainerItem)

Declaration
IContainerShape ISupportContainerGenerator<RadDiagramItem>.GetShapeContainerForItemOverride(IContainerItem item)
Parameters
IContainerItem item

Returns
IContainerShape

Implements
ISupportContainerGenerator<T>.GetShapeContainerForItemOverride(IContainerItem)

ISupportContainerGenerator<RadDiagramItem>.GetTextShapeContainerForItemOverride(Object)

Gets the text shape container for item override.

Declaration
IShape ISupportContainerGenerator<RadDiagramItem>.GetTextShapeContainerForItemOverride(object item)
Parameters
System.Object item

The item.

Returns
IShape

Implements
ISupportContainerGenerator<T>.GetTextShapeContainerForItemOverride(Object)

ISupportContainerGenerator<RadDiagramItem>.IsItemItsOwnConnectionContainerOverride(Object)

Determines whether [is item its own connection container override] [the specified item].

Declaration
bool ISupportContainerGenerator<RadDiagramItem>.IsItemItsOwnConnectionContainerOverride(object item)
Parameters
System.Object item

The item.

Returns
System.Boolean

True if [is item its own connection container override] [the specified item]; otherwise, false.

Implements
ISupportContainerGenerator<T>.IsItemItsOwnConnectionContainerOverride(Object)

ISupportContainerGenerator<RadDiagramItem>.IsItemItsOwnShapeContainerOverride(Object)

Determines whether [is item its own shape container override] [the specified item].

Declaration
bool ISupportContainerGenerator<RadDiagramItem>.IsItemItsOwnShapeContainerOverride(object item)
Parameters
System.Object item

The item.

Returns
System.Boolean

True if [is item its own shape container override] [the specified item]; otherwise, false.

Implements
ISupportContainerGenerator<T>.IsItemItsOwnShapeContainerOverride(Object)

ISupportContainerGenerator<RadDiagramItem>.PrepareConnectionContainerForItemOverride(RadDiagramItem, Object)

Prepares the container for item override.

Declaration
void ISupportContainerGenerator<RadDiagramItem>.PrepareConnectionContainerForItemOverride(RadDiagramItem container, object item)
Parameters
RadDiagramItem container

The container.

System.Object item

The item.

Implements
ISupportContainerGenerator<T>.PrepareConnectionContainerForItemOverride(T, Object)

ISupportContainerGenerator<RadDiagramItem>.PrepareShapeContainerForItemOverride(RadDiagramItem, Object)

Prepares the container for item override.

Declaration
void ISupportContainerGenerator<RadDiagramItem>.PrepareShapeContainerForItemOverride(RadDiagramItem container, object item)
Parameters
RadDiagramItem container

The container.

System.Object item

The item.

Implements
ISupportContainerGenerator<T>.PrepareShapeContainerForItemOverride(T, Object)

ISupportContainerGenerator<RadDiagramItem>.UpdateDataContext(RadDiagramItem, Object)

Updates the dataContext of the container.

Declaration
void ISupportContainerGenerator<RadDiagramItem>.UpdateDataContext(RadDiagramItem container, object item)
Parameters
RadDiagramItem container

The container.

System.Object item

The item.

Implements
ISupportContainerGenerator<T>.UpdateDataContext(T, Object)

Extension Methods

CommonExtensions.ClearIfNoBindingAndSet(RadObject, RadProperty)
DiagramExtensions.GetTransformedPoint(RadDiagramElement, Point)
DispatcherExtensions.CheckAccess(RadObject)
SerializationExtensions.DeserializePrimitives(RadItem, SerializationInfo)
CommonExtensions.SetIfDifferent(RadObject, RadProperty, Object)
CommonExtensions.ClearIfSet(RadObject, RadProperty)
CommonExtensions.IsLocalValueSet(RadObject, RadProperty)
DispatcherExtensions.CheckAccess(RadObject)
DispatcherExtensions.CheckAccess(RadObject)
DispatcherExtensions.CheckAccess(RadObject)
SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.