using System.Collections.ObjectModel; namespace Microsoft.Windows.Controls.PropertyGrid { public class PropertyDefinitionCollection : ObservableCollection { public PropertyDefinition this[string propertyName] { get { foreach (var item in Items) { if (item.Name == propertyName) return item; } return null; } } } }