Represents an item in the diagram document. All classes representing diagram elements derive from DiagramItem.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight
C#
![]() |
---|
public abstract class DiagramItem : ContentControl |
Visual Basic
![]() |
---|
Public MustInherit Class DiagramItem |
All items in the diagram document - links and nodes - share common base class called DiagramItem. Its main function is to provide interface for the most common methods and properties of every diagram element.
Items can be locked for interactive modification through the Locked property. Locked items can still be modified programmatically. Items can also be marked as locked for automatic layout methods through the IgnoreLayout property.
System.Object
System.Windows.DependencyObject
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Controls.Control
System.Windows.Controls.ContentControl
MindFusion.Diagramming.DiagramItem
MindFusion.Diagramming.DiagramLink
MindFusion.Diagramming.DiagramNode
MindFusion.Diagramming.Selection