Class GridViewFilterDescriptorCollection
Represents a collection that stores the filter descriptors
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridViewFilterDescriptorCollection : FilterDescriptorCollection, IList<FilterDescriptor>, ICollection<FilterDescriptor>, IList, ICollection, IReadOnlyList<FilterDescriptor>, IReadOnlyCollection<FilterDescriptor>, IEnumerable<FilterDescriptor>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged, INotifyCollectionChanging
Constructors
GridViewFilterDescriptorCollection(GridViewTemplate)
Initializes a new instance of the GridViewFilterDescriptorCollection class.
Declaration
public GridViewFilterDescriptorCollection(GridViewTemplate owner)
Parameters
GridViewTemplate
owner
The owner. |
Properties
Expression
Gets or sets the expression.
Declaration
public override string Expression { get; set; }
Property Value
System.String
The expression. |
Overrides
Owner
Gets the owner of GridViewFilterDescriptorCollection
Declaration
public GridViewTemplate Owner { get; }
Property Value
GridViewTemplate
The owner of the instance of GridViewFilterDescriptorCollection |
Methods
ClearItems()
Removes all elements from the System.Collections.ObjectModel.Collection<T>.
Declaration
protected override void ClearItems()
Overrides
EndUpdate(Boolean)
Ends the update.
Declaration
public override void EndUpdate(bool notify)
Parameters
System.Boolean
notify
The notify. |
Overrides
FormatDescriptorValue(FilterDescriptor)
Formats the descriptor value.
Declaration
protected virtual object FormatDescriptorValue(FilterDescriptor descriptor)
Parameters
FilterDescriptor
descriptor
The descriptor. |
Returns
System.Object
|
GetExpression()
Gets the expression.
Declaration
protected virtual string GetExpression()
Returns
System.String
|
InsertItem(Int32, FilterDescriptor)
Inserts the item.
Declaration
protected override void InsertItem(int index, FilterDescriptor item)
Parameters
System.Int32
index
The index. |
FilterDescriptor
item
The item. |
Overrides
MoveItem(Int32, Int32)
Moves the item.
Declaration
protected override void MoveItem(int oldIndex, int newIndex)
Parameters
System.Int32
oldIndex
The old index. |
System.Int32
newIndex
The new index. |
Overrides
OnCollectionChanged(NotifyCollectionChangedEventArgs)
Raises the CollectionChanged event.
Declaration
protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs args)
Parameters
NotifyCollectionChangedEventArgs
args
The NotifyCollectionChangedEventArgs instance containing the event data. |
Overrides
OnCollectionChanging(NotifyCollectionChangingEventArgs)
Raises the CollectionChanging event.
Declaration
protected virtual void OnCollectionChanging(NotifyCollectionChangingEventArgs args)
Parameters
NotifyCollectionChangingEventArgs
args
The NotifyCollectionChangingEventArgs instance containing the event data. |
RemoveItem(Int32)
Removes the element at the specified index of the System.Collections.ObjectModel.Collection<T>.
Declaration
protected override void RemoveItem(int index)
Parameters
System.Int32
index
The zero-based index of the element to remove. |
Overrides
Exceptions
System.ArgumentOutOfRangeException
|
SetItem(Int32, FilterDescriptor)
Sets the item.
Declaration
protected override void SetItem(int index, FilterDescriptor item)
Parameters
System.Int32
index
The index. |
FilterDescriptor
item
The item. |
Overrides
Events
CollectionChanging
Declaration
public event NotifyCollectionChangingEventHandler CollectionChanging
Event Type
NotifyCollectionChangingEventHandler
|