ClassGroupDescriptorCollection
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
GroupDescriptorCollection()
Declaration
public GroupDescriptorCollection()
Properties
Expression
Gets or sets the expression.
Declaration
public virtual string Expression { get; set; }
Property Value
The expression.
UseCaseSensitiveFieldNames
Gets or sets a value indicating whether fields with names that differ only in the casing should be considered different.
Declaration
public bool UseCaseSensitiveFieldNames { get; set; }
Property Value
Methods
Add(string, ListSortDirection)
Adds the specified property name.
Declaration
public void Add(string propertyName, ListSortDirection direction)
Parameters
propertyName
Name of the property.
direction
The direction.
ClearItems()
Declaration
protected override void ClearItems()
Overrides
Contains(string)
Determines whether [contains] [the specified property name].
Contains(string, bool)
Determines whether [contains] [the specified property name].
FindAllAssociatedSortDescriptors(string)
Finds all sort descriptors associated with the group descriptors by property name
Declaration
public ReadOnlyCollection<SortDescriptor> FindAllAssociatedSortDescriptors(string propertyName)
Parameters
propertyName
Name of the property.
Returns
ReadOnlyCollection<SortDescriptor>
All sort descriptors contained in the group descriptors by the specified propertyName
FindAllAssociatedSortDescriptors(string, bool)
Finds all sort descriptors associated with the group descriptors by property name
Declaration
public ReadOnlyCollection<SortDescriptor> FindAllAssociatedSortDescriptors(string propertyName, bool caseSensitive)
Parameters
propertyName
Name of the property.
caseSensitive
if set to true [case sensitive].
Returns
ReadOnlyCollection<SortDescriptor>
All sort descriptors contained in the group descriptors by the specified propertyName
GetCompareOpations(bool)
Declaration
protected CompareOptions GetCompareOpations(bool caseSensitive)
Parameters
caseSensitive
Returns
InsertItem(int, GroupDescriptor)
Declaration
protected override void InsertItem(int index, GroupDescriptor item)
Parameters
index
item
Overrides
Remove(string)
Removes the specified property name.
RemoveItem(int)
Declaration
protected override void RemoveItem(int index)
Parameters
index
Overrides
SetItem(int, GroupDescriptor)
Declaration
protected override void SetItem(int index, GroupDescriptor item)
Parameters
index
item
Overrides