A partially observable wrapper for the a hash set that contains the checked items of the RadTreeView.
Definition
Namespace:Telerik.Windows.Controls.TreeView
Assembly:Telerik.Windows.Controls.Navigation.dll
Syntax:
public class CheckedItemsCollection : ICollection<object>, IEnumerable<object>, ICollection, IEnumerable, INotifyPropertyChanged, INotifyCollectionChanged
Inheritance: objectCheckedItemsCollection
Implements:
Properties
Gets the number of elements contained in the ICollection.
public int Count { get; }
Implements:
Gets a value indicating whether the ICollection<T> is read-only.
public bool IsReadOnly { get; }
Implements:
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
public bool IsSynchronized { get; }
Implements:
Gets an object that can be used to synchronize access to the ICollection.
public object SyncRoot { get; }
Implements:
Methods
Adding items to the CheckedItemsCollection is currently not supported, calling this method will throw an exception.
public void Add(object item)
No item will be added to the collection, regardless of the parameter.
Implements:
The collection is Readonly, calling this method will result in an exception.
public void Clear()
Implements:
Determines whether the ICollection<T> contains a specific value.
public bool Contains(object item)
The object to locate in the ICollection<T>.
Returns:True if item is found in the ICollection<T>; otherwise, false.
Implements:
Copies the elements of the ICollection to an Array, starting at a particular Array index.
public void CopyTo(Array array, int index)
The one-dimensional Array that is the destination of the elements copied from ICollection. The Array must have zero-based indexing.
indexintThe zero-based index in array at which copying begins.
array is null.
index is less than zero.
array is multidimensional.
-or-
index is equal to or greater than the length of array.
-or-
The number of elements in the source ICollection is greater than the available space from index to the end of the destination array.
The type of the source ICollection cannot be cast automatically to the type of the destination array.
Implements:
Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.
public void CopyTo(object[] array, int arrayIndex)
The one-dimensional Array that is the destination of the elements copied from ICollection<T>. The Array must have zero-based indexing.
arrayIndexintThe zero-based index in array at which copying begins.
array is null.
arrayIndex is less than 0.
array is multidimensional.
-or-
arrayIndex is equal to or greater than the length of array.
-or-
The number of elements in the source ICollection<T> is greater than the available space from arrayIndex to the end of the destination array.
Implements:
Returns the items from the collection that have a ToggleState.On and excludes items with ToggleState.Indeterminate.
public IEnumerator<object> GetCheckedItemsOnly()
An enumerator that returns only the checked items which are not in indeterminate state.
Returns an enumerator that iterates through a collection.
public IEnumerator GetEnumerator()
An IEnumerator object that can be used to iterate through the collection.
Implements:
Events
Raised when the CheckedItems change. Currently it is only raised with 'Reset' since the set of items in unordered.
public event NotifyCollectionChangedEventHandler CollectionChanged
Implements:
Raised when a property changes on the object.
public event PropertyChangedEventHandler PropertyChanged
Implements: