New to Telerik UI for WinForms? Start a free 30-day trial

Strongly typed collection of diagramming elements.

Definition

Constructors

Creates a collection that can route Add and Remove actions through a diagram's data layer when Owner is a RadDiagramElement.

C#
public DiagramItemCollection()

Properties

Gets or sets the visual element associated with this collection. When it is a RadDiagramElement, Add and Remove actions are routed through its data layer.

C#
public RadElement Owner { get; set; }

Methods

Notifies collection observers, then routes Add and Remove actions through the data layer when Owner is a RadDiagramElement.

C#
protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
Parameters:eNotifyCollectionChangedEventArgs

Overrides: ObservableCollection<RadElement>.OnCollectionChanged(NotifyCollectionChangedEventArgs)