Class
RadListFilterDistinctValuesTable

Represents a table that stores all distinct values when filtering.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

cs-api-definition
public class RadListFilterDistinctValuesTable : IDictionary, ICollection, IEnumerable

Inheritance: objectRadListFilterDistinctValuesTable

Implements: ICollectionIDictionaryIEnumerable

Constructors

RadListFilterDistinctValuesTable()

Initializes a new instance of the RadListFilterDistinctValuesTable class.

Declaration

cs-api-definition
public RadListFilterDistinctValuesTable()

Properties

Count

Gets the number of elements contained in the ICollection.

Declaration

cs-api-definition
public int Count { get; }

Property Value

int

The number of elements contained in the ICollection.

Implements ICollection.Count

DataConversionInfoProvider

Gets or sets the data conversion info provider.

Declaration

cs-api-definition
public IDataConversionInfoProvider DataConversionInfoProvider { get; set; }

Property Value

IDataConversionInfoProvider

The data conversion info provider.

FormatString

Sets the format string.

Declaration

cs-api-definition
public string FormatString { set; }

Property Value

string

The format string.

IsFixedSize

Gets a value indicating whether the IDictionary object has a fixed size.

Declaration

cs-api-definition
public bool IsFixedSize { get; }

Property Value

bool

true if the IDictionary object has a fixed size; otherwise, false.

Implements IDictionary.IsFixedSize

IsReadOnly

Gets a value indicating whether the IDictionary object is read-only.

Declaration

cs-api-definition
public bool IsReadOnly { get; }

Property Value

bool

true if the IDictionary object is read-only; otherwise, false.

Implements IDictionary.IsReadOnly

IsSynchronized

Gets a value indicating whether access to the ICollection is synchronized (thread safe).

Declaration

cs-api-definition
public bool IsSynchronized { get; }

Property Value

bool

true if access to the ICollection is synchronized (thread safe); otherwise, false.

Implements ICollection.IsSynchronized

Keys

Gets an ICollection object containing the keys of the IDictionary object.

Declaration

cs-api-definition
public ICollection Keys { get; }

Property Value

ICollection

An ICollection object containing the keys of the IDictionary object.

Implements IDictionary.Keys

SyncRoot

Gets an object that can be used to synchronize access to the ICollection.

Declaration

cs-api-definition
public object SyncRoot { get; }

Property Value

object

An object that can be used to synchronize access to the ICollection.

Implements ICollection.SyncRoot

Values

Gets an ICollection object containing the values in the IDictionary object.

Declaration

cs-api-definition
public ICollection Values { get; }

Property Value

ICollection

An ICollection object containing the values in the IDictionary object.

Implements IDictionary.Values

this[object]

Gets or sets the object with the specified key.

Declaration

cs-api-definition
public object this[object key] { get; set; }

Parameters

key

object

Property Value

object

Implements IDictionary.this[object]

this[string]

Gets or sets the ArrayList with the specified key.

Declaration

cs-api-definition
public ArrayList this[string key] { get; set; }

Parameters

key

string

Property Value

ArrayList

Methods

Add(object)

Adding value to DistinctValuesTable. It only adds the value if it is unique and is not null or empty.

Declaration

cs-api-definition
public void Add(object value)

Parameters

value

object

Add(object, object)

Adds an element with the provided key and value to the IDictionary object.

Declaration

cs-api-definition
public void Add(object key, object value)

Parameters

key

object

The object to use as the key of the element to add.

value

object

The object to use as the value of the element to add.

Exceptions

ArgumentNullException

key is null.

ArgumentException

An element with the same key already exists in the IDictionary object.

NotSupportedException

The IDictionary is read-only.-or- The IDictionary has a fixed size.

Implements IDictionary.Add(object, object)

Add(string, ArrayList)

Adds the specified key.

Declaration

cs-api-definition
public void Add(string key, ArrayList valueList)

Parameters

key

string

The key.

valueList

ArrayList

The value list.

Add(string, object)

Adds the specified key.

Declaration

cs-api-definition
public void Add(string key, object filterValue)

Parameters

key

string

The key.

filterValue

object

The filter value.

Clear()

Removes all elements from the IDictionary object.

Declaration

cs-api-definition
public void Clear()

Exceptions

NotSupportedException

The IDictionary object is read-only.

Implements IDictionary.Clear()

Contains(object)

Check if the collection conteins a given string key.

Declaration

cs-api-definition
public bool Contains(object key)

Parameters

key

object

Must be a string

Returns

bool

Implements IDictionary.Contains(object)

ContainsFilterValue(object)

Check if a given value is contained in any of the ArrayLists value collections, bound to every string key.

Declaration

cs-api-definition
public bool ContainsFilterValue(object value)

Parameters

value

object

Returns

bool

ContainsStringKey(string)

Determines whether the specified key is contained.

Declaration

cs-api-definition
public bool ContainsStringKey(string key)

Parameters

key

string

The key.

Returns

bool

CopyTo(Array, int)

Copies the elements of the ICollection to an Array, starting at a particular Array index.

Declaration

cs-api-definition
public void CopyTo(Array array, int index)

Parameters

array

Array

The one-dimensional Array that is the destination of the elements copied from ICollection. The Array must have zero-based indexing.

index

int

The zero-based index in array at which copying begins.

Exceptions

ArgumentNullException

array is null.

ArgumentOutOfRangeException

index is less than zero.

ArgumentException

array is multidimensional.-or- The number of elements in the source ICollection is greater than the available space from index to the end of the destination array.-or-The type of the source ICollection cannot be cast automatically to the type of the destination array.

Implements ICollection.CopyTo(Array, int)

GetEnumerator()

Returns an IDictionaryEnumerator object for the IDictionary object.

Declaration

cs-api-definition
public IDictionaryEnumerator GetEnumerator()

Returns

IDictionaryEnumerator

An IDictionaryEnumerator object for the IDictionary object.

Implements IDictionary.GetEnumerator()

Remove(object)

Removes the element with the specified key from the IDictionary object.

Declaration

cs-api-definition
public void Remove(object key)

Parameters

key

object

The key of the element to remove.

Exceptions

ArgumentNullException

key is null.

NotSupportedException

The IDictionary object is read-only.-or- The IDictionary has a fixed size.

Implements IDictionary.Remove(object)