Class RadListFilterDistinctValuesTable
Represents a table that stores all distinct values when filtering.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class RadListFilterDistinctValuesTable : IDictionary, ICollection, IEnumerable
Constructors
RadListFilterDistinctValuesTable()
Initializes a new instance of the RadListFilterDistinctValuesTable class.
Declaration
public RadListFilterDistinctValuesTable()
Properties
Count
Gets the number of elements contained in the System.Collections.ICollection.
Declaration
public int Count { get; }
Property Value
|
System.Int32
The number of elements contained in the System.Collections.ICollection. |
Implements
DataConversionInfoProvider
Gets or sets the data conversion info provider.
Declaration
public IDataConversionInfoProvider DataConversionInfoProvider { get; set; }
Property Value
|
IDataConversionInfoProvider
The data conversion info provider. |
FormatString
Sets the format string.
Declaration
public string FormatString { set; }
Property Value
|
System.String
The format string. |
IsFixedSize
Gets a value indicating whether the System.Collections.IDictionary object has a fixed size.
Declaration
public bool IsFixedSize { get; }
Property Value
|
System.Boolean
true if the System.Collections.IDictionary object has a fixed size; otherwise, false. |
Implements
IsReadOnly
Gets a value indicating whether the System.Collections.IDictionary object is read-only.
Declaration
public bool IsReadOnly { get; }
Property Value
|
System.Boolean
true if the System.Collections.IDictionary object is read-only; otherwise, false. |
Implements
IsSynchronized
Gets a value indicating whether access to the System.Collections.ICollection is synchronized (thread safe).
Declaration
public bool IsSynchronized { get; }
Property Value
|
System.Boolean
true if access to the System.Collections.ICollection is synchronized (thread safe); otherwise, false. |
Implements
Item[Object]
Gets or sets the System.Object with the specified key.
Declaration
public object this[object key] { get; set; }
Parameters
|
System.Object
key
|
Property Value
|
System.Object
|
Implements
Item[String]
Gets or sets the System.Collections.ArrayList with the specified key.
Declaration
public ArrayList this[string key] { get; set; }
Parameters
|
System.String
key
|
Property Value
|
System.Collections.ArrayList
|
Keys
Gets an System.Collections.ICollection object containing the keys of the System.Collections.IDictionary object.
Declaration
public ICollection Keys { get; }
Property Value
|
System.Collections.ICollection
An System.Collections.ICollection object containing the keys of the System.Collections.IDictionary object. |
Implements
SyncRoot
Gets an object that can be used to synchronize access to the System.Collections.ICollection.
Declaration
public object SyncRoot { get; }
Property Value
|
System.Object
An object that can be used to synchronize access to the System.Collections.ICollection. |
Implements
Values
Gets an System.Collections.ICollection object containing the values in the System.Collections.IDictionary object.
Declaration
public ICollection Values { get; }
Property Value
|
System.Collections.ICollection
An System.Collections.ICollection object containing the values in the System.Collections.IDictionary object. |
Implements
Methods
Add(Object)
Adding value to DistinctValuesTable. It only adds the value if it is unique and is not null or empty.
Declaration
public void Add(object value)
Parameters
|
System.Object
value
|
Add(Object, Object)
Adds an element with the provided key and value to the System.Collections.IDictionary object.
Declaration
public void Add(object key, object value)
Parameters
|
System.Object
key
The System.Object to use as the key of the element to add. |
|
System.Object
value
The System.Object to use as the value of the element to add. |
Implements
Exceptions
|
System.ArgumentNullException
|
|
System.ArgumentException
An element with the same key already exists in the System.Collections.IDictionary object. |
|
System.NotSupportedException
The System.Collections.IDictionary is read-only.-or- The System.Collections.IDictionary has a fixed size. |
Add(String, ArrayList)
Adds the specified key.
Declaration
public void Add(string key, ArrayList valueList)
Parameters
|
System.String
key
The key. |
|
System.Collections.ArrayList
valueList
The value list. |
Add(String, Object)
Adds the specified key.
Declaration
public void Add(string key, object filterValue)
Parameters
|
System.String
key
The key. |
|
System.Object
filterValue
The filter value. |
Clear()
Removes all elements from the System.Collections.IDictionary object.
Declaration
public void Clear()
Implements
Exceptions
|
System.NotSupportedException
The System.Collections.IDictionary object is read-only. |
Contains(Object)
Check if the collection conteins a given string key.
Declaration
public bool Contains(object key)
Parameters
|
System.Object
key
Must be a string |
Returns
|
System.Boolean
|
Implements
ContainsFilterValue(Object)
Check if a given value is contained in any of the ArrayLists value collections, bound to every string key.
Declaration
public bool ContainsFilterValue(object value)
Parameters
|
System.Object
value
|
Returns
|
System.Boolean
|
ContainsStringKey(String)
Determines whether the specified key is contained.
Declaration
public bool ContainsStringKey(string key)
Parameters
|
System.String
key
The key. |
Returns
|
System.Boolean
|
CopyTo(Array, Int32)
Copies the elements of the System.Collections.ICollection to an System.Array, starting at a particular System.Array index.
Declaration
public void CopyTo(Array array, int index)
Parameters
|
System.Array
array
The one-dimensional System.Array that is the destination of the elements copied from System.Collections.ICollection. The System.Array must have zero-based indexing. |
|
System.Int32
index
The zero-based index in |
Implements
Exceptions
|
System.ArgumentNullException
|
|
System.ArgumentOutOfRangeException
|
|
System.ArgumentException
|
GetEnumerator()
Returns an System.Collections.IDictionaryEnumerator object for the System.Collections.IDictionary object.
Declaration
public IDictionaryEnumerator GetEnumerator()
Returns
|
System.Collections.IDictionaryEnumerator
An System.Collections.IDictionaryEnumerator object for the System.Collections.IDictionary object. |
Implements
Remove(Object)
Removes the element with the specified key from the System.Collections.IDictionary object.
Declaration
public void Remove(object key)
Parameters
|
System.Object
key
The key of the element to remove. |
Implements
Exceptions
|
System.ArgumentNullException
|
|
System.NotSupportedException
The System.Collections.IDictionary object is read-only.-or- The System.Collections.IDictionary has a fixed size. |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
|
System.Collections.IEnumerator
|