Class GroupDescriptorCollection
Inheritance
System.Object
GroupDescriptorCollection
Inherited Members
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.GroupDescriptor>.Add(Telerik.WinControls.Data.GroupDescriptor)
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.GroupDescriptor>.Clear()
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.GroupDescriptor>.CopyTo(Telerik.WinControls.Data.GroupDescriptor[], System.Int32)
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.GroupDescriptor>.Contains(Telerik.WinControls.Data.GroupDescriptor)
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.GroupDescriptor>.GetEnumerator()
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.GroupDescriptor>.IndexOf(Telerik.WinControls.Data.GroupDescriptor)
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.GroupDescriptor>.Insert(System.Int32, Telerik.WinControls.Data.GroupDescriptor)
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.GroupDescriptor>.Remove(Telerik.WinControls.Data.GroupDescriptor)
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.GroupDescriptor>.RemoveAt(System.Int32)
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.GroupDescriptor>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.GroupDescriptor>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.GroupDescriptor>.System.Collections.IList.get_Item(System.Int32)
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.GroupDescriptor>.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.GroupDescriptor>.System.Collections.IList.Add(System.Object)
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.GroupDescriptor>.System.Collections.IList.Contains(System.Object)
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.GroupDescriptor>.System.Collections.IList.IndexOf(System.Object)
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.GroupDescriptor>.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.GroupDescriptor>.System.Collections.IList.Remove(System.Object)
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.GroupDescriptor>.Count
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.GroupDescriptor>.Items
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.GroupDescriptor>.Item[System.Int32]
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.GroupDescriptor>.System.Collections.Generic.ICollection<Telerik.WinControls.Data.GroupDescriptor>.IsReadOnly
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.GroupDescriptor>.System.Collections.ICollection.IsSynchronized
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.GroupDescriptor>.System.Collections.ICollection.SyncRoot
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.GroupDescriptor>.System.Collections.IList.Item[System.Int32]
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.GroupDescriptor>.System.Collections.IList.IsReadOnly
System.Collections.ObjectModel.Collection<Telerik.WinControls.Data.GroupDescriptor>.System.Collections.IList.IsFixedSize
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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
Declaration
public GroupDescriptorCollection()
Properties
Gets or sets the expression.
Declaration
public virtual string Expression { get; set; }
Property Value
System.String
The expression.
|
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
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.
|
Declaration
protected override void ClearItems()
Overrides
Telerik.Collections.Generic.NotifyCollection<Telerik.WinControls.Data.GroupDescriptor>.ClearItems()
Determines whether [contains] [the specified property name].
Declaration
public bool Contains(string propertyName)
Parameters
System.String
propertyName
Name of the property.
|
Returns
System.Boolean
true if [contains] [the specified property name]; otherwise, false .
|
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
true if [contains] [the specified property name]; otherwise, false .
|
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
|
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 true [case sensitive].
|
Returns
System.Collections.ObjectModel.ReadOnlyCollection<SortDescriptor>
All sort descriptors contained in the group descriptors by the specified propertyName
|
Declaration
protected CompareOptions GetCompareOpations(bool caseSensitive)
Parameters
System.Boolean
caseSensitive
|
Returns
System.Globalization.CompareOptions
|
Declaration
protected override void InsertItem(int index, GroupDescriptor item)
Parameters
Overrides
Telerik.Collections.Generic.NotifyCollection<Telerik.WinControls.Data.GroupDescriptor>.InsertItem(System.Int32, Telerik.WinControls.Data.GroupDescriptor)
Removes the specified property name.
Declaration
public bool Remove(string propertyName)
Parameters
System.String
propertyName
Name of the property.
|
Returns
Declaration
protected override void RemoveItem(int index)
Parameters
Overrides
Telerik.Collections.Generic.NotifyCollection<Telerik.WinControls.Data.GroupDescriptor>.RemoveItem(System.Int32)
Declaration
protected override void SetItem(int index, GroupDescriptor item)
Parameters
Overrides
Telerik.Collections.Generic.NotifyCollection<Telerik.WinControls.Data.GroupDescriptor>.SetItem(System.Int32, Telerik.WinControls.Data.GroupDescriptor)
Extension Methods