Provides read-only access to top-level or nested PropertyGrid items, with name lookup and explicit sorting.
The collection wraps the supplied list rather than copying it; sorting changes that backing list.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
C#
public class PropertyGridItemCollection : ReadOnlyCollection<PropertyGridItem>, IList, ICollection, IEnumerable
Inheritance: objectReadOnlyCollection<PropertyGridItem>PropertyGridItemCollection
Implements:
Inherited Members
Constructors
Wraps the list that stores the property items.
C#
public PropertyGridItemCollection(IList<PropertyGridItem> items)
The backing list; it must be a List<PropertyGridItem> if Sort(IComparer<PropertyGridItem>) will be used.
Properties
Methods
Sorts the backing list in place.
C#
public virtual void Sort(IComparer<PropertyGridItem> comparer)
The comparer used to order the items.