DiagramLite Programmer's Guide
DiagramItem Class
Remarks See Also
 





Represents an item in the diagram document. All classes representing diagram elements derive from DiagramItem.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight

 Syntax

C#  Copy Code

public abstract class DiagramItem : ContentControl

Visual Basic  Copy Code

Public MustInherit Class DiagramItem
    Inherits ContentControl

 Remarks

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.

 Inheritance Hierarchy

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

 See Also

DiagramItem Members
MindFusion.Diagramming Namespace