Gets the UIElement associated with this DiagramItem.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C#
![]() |
---|
public virtual UIElement UIElement { get; } |
Visual Basic
![]() |
---|
Public Overridable ReadOnly Property UIElement As UIElement |
When an object that does not derive from DiagramItem is added to the Items collection of the Diagram, a wrapper DiagramItem is created and its UIElement property returns the non-DiagramItem object. DiagramItem -derived objects return themselves.
WpfDiagram Programmer's Guide | © 2025 MindFusion |