Class CheckedItemsCollection
A partially observable wrapper for the a hash set that contains the checked items of the RadTreeView.
Inheritance
Namespace: Telerik.Windows.Controls.TreeView
Assembly: Telerik.Windows.Controls.Navigation.dll
Syntax
public class CheckedItemsCollection : Object, ICollection<object>, IEnumerable<object>, IEnumerable, ICollection, INotifyPropertyChanged, INotifyCollectionChanged
Properties
Count
Gets the number of elements contained in the System.
Declaration
public int Count { get; }
Property Value
System.
|
IsReadOnly
Gets a value indicating whether the System.Collections.Generic.ICollection<> is read-only.
Declaration
public bool IsReadOnly { get; }
Property Value
System.
|
IsSynchronized
Gets a value indicating whether access to the System.
Declaration
public bool IsSynchronized { get; }
Property Value
System.
|
SyncRoot
Gets an object that can be used to synchronize access to the System.
Declaration
public object SyncRoot { get; }
Property Value
System.
|
Methods
Add(Object)
Adding items to the CheckedItemsCollection is currently not supported, calling this method will throw an exception.
Declaration
public void Add(object item)
Parameters
System. No item will be added to the collection, regardless of the parameter. |
Clear()
The collection is Readonly, calling this method will result in an exception.
Declaration
public void Clear()
Contains(Object)
Determines whether the System.Collections.Generic.ICollection<> contains a specific value.
Declaration
public bool Contains(object item)
Parameters
System. The object to locate in the System.Collections.Generic.ICollection<>. |
Returns
System. True if |
CopyTo(Array, Int32)
Copies the elements of the System.
Declaration
public void CopyTo(Array array, int index)
Parameters
System. The one-dimensional System. |
System. The zero-based index in |
Exceptions
System.
|
System.
|
System.
|
System. The type of the source System. |
CopyTo(Object[], Int32)
Copies the elements of the System.Collections.Generic.ICollection<> to an System.
Declaration
public void CopyTo(object[] array, int arrayIndex)
Parameters
System. The one-dimensional System. |
System. The zero-based index in |
Exceptions
System.
|
System.
|
System.
|
GetCheckedItemsOnly()
Returns the items from the collection that have a ToggleState.On and excludes items with ToggleState.Indeterminate.
Declaration
public IEnumerator<object> GetCheckedItemsOnly()
Returns
System. An enumerator that returns only the checked items which are not in indeterminate state. |
GetEnumerator()
Returns an enumerator that iterates through a collection.
Declaration
public IEnumerator GetEnumerator()
Returns
System. An System. |
Remove(Object)
The CheckedItems collection is read-only and cannot be modified.
Declaration
public bool Remove(object item)
Parameters
System. No item will be remove, the collection is read-only. |
Returns
System. Always returns false. |
Events
CollectionChanged
Raised when the CheckedItems change. Currently it is only raised with 'Reset' since the set of items in unordered.
Declaration
public event NotifyCollectionChangedEventHandler CollectionChanged
Event Type
System.
|
PropertyChanged
Raised when a property changes on the object.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.
|