using System.Collections.ObjectModel; using System.Windows; namespace BPA.UIControl.Commons { /// /// 归属元素的可通知集合 /// /// public class ElementObservableCollection : ObservableCollection { /// /// 所有者 /// public UIElement Owner { get; } public ElementObservableCollection(UIElement owner) { Owner = owner; } } }