Class
GroupDescriptorCollection

Definition

Namespace:Telerik.WinControls.Data

Assembly:Telerik.WinControls.dll

Syntax:

cs-api-definition
public class GroupDescriptorCollection : NotifyCollection<GroupDescriptor>, IList, ICollection, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged

Inheritance: objectCollection<GroupDescriptor>NotifyCollection<GroupDescriptor>GroupDescriptorCollection

Derived Classes: GridViewGroupDescriptorCollection

Implements: ICollectionIEnumerableIListINotifyCollectionChangedINotifyPropertyChanged

Inherited Members NotifyCollection<GroupDescriptor>.EmptyNotifyCollection<GroupDescriptor>.Move(int, int)NotifyCollection<GroupDescriptor>.AddRange(params GroupDescriptor[])NotifyCollection<GroupDescriptor>.AddRange(IEnumerable<GroupDescriptor>)NotifyCollection<GroupDescriptor>.BeginUpdate()NotifyCollection<GroupDescriptor>.EndUpdate()NotifyCollection<GroupDescriptor>.EndUpdate(bool)NotifyCollection<GroupDescriptor>.DeferRefresh()NotifyCollection<GroupDescriptor>.MoveItem(int, int)NotifyCollection<GroupDescriptor>.CreateEventArguments(NotifyCollectionChangedAction)NotifyCollection<GroupDescriptor>.CreateEventArguments(NotifyCollectionChangedAction, object, int)NotifyCollection<GroupDescriptor>.CreateEventArguments(NotifyCollectionChangedAction, object, object, int)NotifyCollection<GroupDescriptor>.OnCollectionChanged(NotifyCollectionChangedEventArgs)NotifyCollection<GroupDescriptor>.OnPropertyChanged(PropertyChangedEventArgs)NotifyCollection<GroupDescriptor>.OnPropertyChanged(string)NotifyCollection<GroupDescriptor>.VersionNotifyCollection<GroupDescriptor>.SuspendedNotifyCollection<GroupDescriptor>.CollectionChangedNotifyCollection<GroupDescriptor>.PropertyChangedCollection<GroupDescriptor>.Add(GroupDescriptor)Collection<GroupDescriptor>.Clear()Collection<GroupDescriptor>.CopyTo(GroupDescriptor[], int)Collection<GroupDescriptor>.Contains(GroupDescriptor)Collection<GroupDescriptor>.GetEnumerator()Collection<GroupDescriptor>.IndexOf(GroupDescriptor)Collection<GroupDescriptor>.Insert(int, GroupDescriptor)Collection<GroupDescriptor>.Remove(GroupDescriptor)Collection<GroupDescriptor>.RemoveAt(int)Collection<GroupDescriptor>.CountCollection<GroupDescriptor>.ItemsCollection<GroupDescriptor>.this[int]

Constructors

GroupDescriptorCollection()

Declaration

cs-api-definition
public GroupDescriptorCollection()

Properties

Expression

Gets or sets the expression.

Declaration

cs-api-definition
public virtual string Expression { get; set; }

Property Value

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

cs-api-definition
public bool UseCaseSensitiveFieldNames { get; set; }

Property Value

bool

Methods

Add(string, ListSortDirection)

Adds the specified property name.

Declaration

cs-api-definition
public void Add(string propertyName, ListSortDirection direction)

Parameters

propertyName

string

Name of the property.

direction

ListSortDirection

The direction.

ClearItems()

Declaration

cs-api-definition
protected override void ClearItems()

Overrides NotifyCollection<GroupDescriptor>.ClearItems()

Contains(string)

Determines whether [contains] [the specified property name].

Declaration

cs-api-definition
public bool Contains(string propertyName)

Parameters

propertyName

string

Name of the property.

Returns

bool

true if [contains] [the specified property name]; otherwise, false.

Contains(string, bool)

Determines whether [contains] [the specified property name].

Declaration

cs-api-definition
public bool Contains(string propertyName, bool caseSensitive)

Parameters

propertyName

string

Name of the property.

caseSensitive

bool

Returns

bool

true if [contains] [the specified property name]; otherwise, false.

FindAllAssociatedSortDescriptors(string)

Finds all sort descriptors associated with the group descriptors by property name

Declaration

cs-api-definition
public ReadOnlyCollection<SortDescriptor> FindAllAssociatedSortDescriptors(string propertyName)

Parameters

propertyName

string

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

cs-api-definition
public ReadOnlyCollection<SortDescriptor> FindAllAssociatedSortDescriptors(string propertyName, bool caseSensitive)

Parameters

propertyName

string

Name of the property.

caseSensitive

bool

if set to true [case sensitive].

Returns

ReadOnlyCollection<SortDescriptor>

All sort descriptors contained in the group descriptors by the specified propertyName

GetCompareOpations(bool)

Declaration

cs-api-definition
protected CompareOptions GetCompareOpations(bool caseSensitive)

Parameters

caseSensitive

bool

Returns

CompareOptions

InsertItem(int, GroupDescriptor)

Declaration

cs-api-definition
protected override void InsertItem(int index, GroupDescriptor item)

Parameters

index

int

item

GroupDescriptor

Overrides NotifyCollection<GroupDescriptor>.InsertItem(int, GroupDescriptor)

Remove(string)

Removes the specified property name.

Declaration

cs-api-definition
public bool Remove(string propertyName)

Parameters

propertyName

string

Name of the property.

Returns

bool

RemoveItem(int)

Declaration

cs-api-definition
protected override void RemoveItem(int index)

Parameters

index

int

Overrides NotifyCollection<GroupDescriptor>.RemoveItem(int)

SetItem(int, GroupDescriptor)

Declaration

cs-api-definition
protected override void SetItem(int index, GroupDescriptor item)

Parameters

index

int

item

GroupDescriptor

Overrides NotifyCollection<GroupDescriptor>.SetItem(int, GroupDescriptor)