wpf-devexpress-dot-xpf-dot-diagram-dot-diagramitemboundschangedeventargs.md
Returns the item whose bounds are changed.
Namespace : DevExpress.Xpf.Diagram
Assembly : DevExpress.Xpf.Diagram.v25.2.dll
NuGet Package : DevExpress.Wpf.Diagram
public DiagramItem Item { get; }
Public ReadOnly Property Item As DiagramItem
| Type | Description |
|---|---|
| DiagramItem |
A DiagramItem object.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Item property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
If Equals(e.NewParent, AssociatedObject) AndAlso (Not Equals(e.OldParent, AssociatedObject)) Then
AddChild(e.Item, e.NewIndex = 0)
ElseIf Equals(e.OldParent, AssociatedObject) AndAlso (Not Equals(e.NewParent, AssociatedObject)) Then
See Also
DiagramItemBoundsChangedEventArgs Class