Definition
Namespace:Telerik.WinControls.Data
Assembly:Telerik.WinControls.dll
Syntax:
public class GroupDescriptorCollection : NotifyCollection<GroupDescriptor>, IList, ICollection, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
Inheritance: objectCollection<GroupDescriptor>NotifyCollection<GroupDescriptor>GroupDescriptorCollection
Derived Classes:
Implements:
Inherited Members
Constructors
public GroupDescriptorCollection()
Properties
Gets or sets the expression.
public virtual string Expression { get; set; }
The expression.
Gets or sets a value indicating whether fields with names that differ only in the casing should be considered different.
public bool UseCaseSensitiveFieldNames { get; set; }
Methods
Adds the specified property name.
public void Add(string propertyName, ListSortDirection direction)
Name of the property.
directionListSortDirectionThe direction.
protected override void ClearItems()
Overrides:
Finds all sort descriptors associated with the group descriptors by property name
public ReadOnlyCollection<SortDescriptor> FindAllAssociatedSortDescriptors(string propertyName, bool caseSensitive)
Name of the property.
caseSensitiveboolif set to true [case sensitive].
ReadOnlyCollection<SortDescriptor>
All sort descriptors contained in the group descriptors by the specified propertyName
Finds all sort descriptors associated with the group descriptors by property name
public ReadOnlyCollection<SortDescriptor> FindAllAssociatedSortDescriptors(string propertyName)
Name of the property.
Returns:ReadOnlyCollection<SortDescriptor>
All sort descriptors contained in the group descriptors by the specified propertyName
protected CompareOptions GetCompareOpations(bool caseSensitive)
protected override void InsertItem(int index, GroupDescriptor item)
Overrides:
protected override void SetItem(int index, GroupDescriptor item)
Overrides: