ClassGridViewFilterDescriptorCollection
Represents a collection that stores the filter descriptors
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GridViewFilterDescriptorCollection : FilterDescriptorCollection, IList, ICollection, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged, INotifyCollectionChanging
Inheritance: objectCollection<FilterDescriptor>NotifyCollection<FilterDescriptor>FilterDescriptorCollectionGridViewFilterDescriptorCollection
Derived Classes:
Implements:
Inherited Members
Constructors
GridViewFilterDescriptorCollection(GridViewTemplate)
Initializes a new instance of the GridViewFilterDescriptorCollection class.
Declaration
public GridViewFilterDescriptorCollection(GridViewTemplate owner)
Parameters
owner
The owner.
Properties
Expression
Gets or sets the expression.
Declaration
public override string Expression { get; set; }
Property Value
The expression.
Overrides
Owner
Gets the owner of GridViewFilterDescriptorCollection
Declaration
public GridViewTemplate Owner { get; }
Property Value
The owner of the instance of GridViewFilterDescriptorCollection
Methods
ClearItems()
Removes all elements from the Collection<T>.
Declaration
protected override void ClearItems()
Overrides
EndUpdate(bool)
Ends the update.
Declaration
public override void EndUpdate(bool notify)
Parameters
notify
The notify.
Overrides
FormatDescriptorValue(FilterDescriptor)
Formats the descriptor value.
Declaration
protected virtual object FormatDescriptorValue(FilterDescriptor descriptor)
Parameters
descriptor
The descriptor.
Returns
GetExpression()
Gets the expression.
InsertItem(int, FilterDescriptor)
Inserts the item.
Declaration
protected override void InsertItem(int index, FilterDescriptor item)
Parameters
index
The index.
item
The item.
Overrides
MoveItem(int, int)
Moves the item.
OnCollectionChanged(NotifyCollectionChangedEventArgs)
Raises the event.
Declaration
protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs args)
Parameters
args
NotifyCollectionChangedEventArgs
The NotifyCollectionChangedEventArgs instance containing the event data.
Overrides
OnCollectionChanging(NotifyCollectionChangingEventArgs)
Raises the event.
Declaration
protected virtual void OnCollectionChanging(NotifyCollectionChangingEventArgs args)
Parameters
args
NotifyCollectionChangingEventArgs
The NotifyCollectionChangingEventArgs instance containing the event data.
RemoveItem(int)
Removes the element at the specified index of the Collection<T>.
Declaration
protected override void RemoveItem(int index)
Parameters
index
The zero-based index of the element to remove.
Exceptions
index is less than zero.-or-index is equal
to or greater than Count.
Overrides
SetItem(int, FilterDescriptor)
Sets the item.
Declaration
protected override void SetItem(int index, FilterDescriptor item)
Parameters
index
The index.
item
The item.
Overrides
Events
CollectionChanging
Occurs before the collection changes.
Declaration
public event NotifyCollectionChangingEventHandler CollectionChanging
Event Value
Implements