Class GroupDescriptorCollection
Inheritance
Inherited Members
Namespace: Telerik.WinControls.Data
Assembly: Telerik.WinControls.dll
Syntax
public class GroupDescriptorCollection : NotifyCollection<GroupDescriptor>, IList<GroupDescriptor>, ICollection<GroupDescriptor>, IList, ICollection, IReadOnlyList<GroupDescriptor>, IReadOnlyCollection<GroupDescriptor>, IEnumerable<GroupDescriptor>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
Constructors
GroupDescriptorCollection()
Declaration
public GroupDescriptorCollection()
Properties
Expression
Gets or sets the expression.
Declaration
public virtual string Expression { get; set; }
Property Value
System.String
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
System.Boolean
|
Methods
Add(String, ListSortDirection)
Adds the specified property name.
Declaration
public void Add(string propertyName, ListSortDirection direction)
Parameters
System.String
propertyName
Name of the property. |
System.ComponentModel.ListSortDirection
direction
The direction. |
ClearItems()
Declaration
protected override void ClearItems()
Overrides
Contains(String)
Determines whether [contains] [the specified property name].
Declaration
public bool Contains(string propertyName)
Parameters
System.String
propertyName
Name of the property. |
Returns
System.Boolean
|
Contains(String, Boolean)
Determines whether [contains] [the specified property name].
Declaration
public bool Contains(string propertyName, bool caseSensitive)
Parameters
System.String
propertyName
Name of the property. |
System.Boolean
caseSensitive
|
Returns
System.Boolean
|
FindAllAssociatedSortDescriptors(String)
Finds all sort descriptors associated with the group descriptors by property name
Declaration
public ReadOnlyCollection<SortDescriptor> FindAllAssociatedSortDescriptors(string propertyName)
Parameters
System.String
propertyName
Name of the property. |
Returns
System.Collections.ObjectModel.ReadOnlyCollection<SortDescriptor>
All sort descriptors contained in the group descriptors by the specified propertyName |
FindAllAssociatedSortDescriptors(String, Boolean)
Finds all sort descriptors associated with the group descriptors by property name
Declaration
public ReadOnlyCollection<SortDescriptor> FindAllAssociatedSortDescriptors(string propertyName, bool caseSensitive)
Parameters
System.String
propertyName
Name of the property. |
System.Boolean
caseSensitive
if set to |
Returns
System.Collections.ObjectModel.ReadOnlyCollection<SortDescriptor>
All sort descriptors contained in the group descriptors by the specified propertyName |
GetCompareOpations(Boolean)
Declaration
protected CompareOptions GetCompareOpations(bool caseSensitive)
Parameters
System.Boolean
caseSensitive
|
Returns
System.Globalization.CompareOptions
|
InsertItem(Int32, GroupDescriptor)
Declaration
protected override void InsertItem(int index, GroupDescriptor item)
Parameters
System.Int32
index
|
GroupDescriptor
item
|
Overrides
Remove(String)
Removes the specified property name.
Declaration
public bool Remove(string propertyName)
Parameters
System.String
propertyName
Name of the property. |
Returns
System.Boolean
|
RemoveItem(Int32)
Declaration
protected override void RemoveItem(int index)
Parameters
System.Int32
index
|
Overrides
SetItem(Int32, GroupDescriptor)
Declaration
protected override void SetItem(int index, GroupDescriptor item)
Parameters
System.Int32
index
|
GroupDescriptor
item
|