Click or drag to resize

MultipleSelectableListNodeList Class

A list of selectable items. Multiple selections are allowed. If the selection of one of the items changed, a property changed event for the property SelectedItems is raised.
Inheritance Hierarchy

Namespace: Altaxo.Collections
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class MultipleSelectableListNodeList : ObservableCollection<SelectableListNodeWithParent>, 
	SelectableListNodeWithParentIParent, INotifyPropertyChanged

The MultipleSelectableListNodeList type exposes the following members.

Constructors
 NameDescription
Public methodMultipleSelectableListNodeList Initializes a new instance of the SelectableListNodeList class.
Public methodMultipleSelectableListNodeList(Enum) Initialize the list with all possible values of an enumeration. The item given in the argument is marked as selected item. Note: the enumeration must not have the [Flags] attribute!
Public methodMultipleSelectableListNodeList(IEnumerableSelectableListNodeWithParent) Initializes a new instance of the SelectableListNodeList class.
Public methodMultipleSelectableListNodeList(Enum, Boolean) Initialize the list with all possible values of an enumeration. The item given in the argument is marked as selected item. Note: the enumeration must not have the [Flags] attribute!
Top
Properties
 NameDescription
Public propertyCountGets the number of elements actually contained in the CollectionT.
(Inherited from CollectionSelectableListNodeWithParent)
Public propertyItemGets or sets the element at the specified index.
(Inherited from CollectionSelectableListNodeWithParent)
Protected propertyItemsGets a IListT wrapper around the CollectionT.
(Inherited from CollectionSelectableListNodeWithParent)
Public propertySelectedItems 
Top
Methods
 NameDescription
Public methodAddAdds an object to the end of the CollectionT.
(Inherited from CollectionSelectableListNodeWithParent)
Protected methodBlockReentrancyDisallows reentrant attempts to change this collection.
(Inherited from ObservableCollectionSelectableListNodeWithParent)
Protected methodCheckReentrancyChecks for reentrant attempts to change this collection.
(Inherited from ObservableCollectionSelectableListNodeWithParent)
Public methodClearRemoves all elements from the CollectionT.
(Inherited from CollectionSelectableListNodeWithParent)
Protected methodClearItems
(Overrides ObservableCollectionTClearItems)
Public methodClearSelectionsAll 
Public methodContainsDetermines whether an element is in the CollectionT.
(Inherited from CollectionSelectableListNodeWithParent)
Public methodCopyToCopies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from CollectionSelectableListNodeWithParent)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetEnumeratorReturns an enumerator that iterates through the CollectionT.
(Inherited from CollectionSelectableListNodeWithParent)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIndexOfSearches for the specified object and returns the zero-based index of the first occurrence within the entire CollectionT.
(Inherited from CollectionSelectableListNodeWithParent)
Public methodInsertInserts an element into the CollectionT at the specified index.
(Inherited from CollectionSelectableListNodeWithParent)
Protected methodInsertItem
(Overrides ObservableCollectionTInsertItem(Int32, T))
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodMoveMoves the item at the specified index to a new location in the collection.
(Inherited from ObservableCollectionSelectableListNodeWithParent)
Protected methodMoveItemMoves the item at the specified index to a new location in the collection.
(Inherited from ObservableCollectionSelectableListNodeWithParent)
Protected methodOnCollectionChangedRaises the CollectionChanged event with the provided arguments.
(Inherited from ObservableCollectionSelectableListNodeWithParent)
Protected methodOnPropertyChangedRaises the PropertyChanged event with the provided arguments.
(Inherited from ObservableCollectionSelectableListNodeWithParent)
Protected methodOnSelectedItemsChanged 
Public methodRemoveRemoves the first occurrence of a specific object from the CollectionT.
(Inherited from CollectionSelectableListNodeWithParent)
Public methodRemoveAtRemoves the element at the specified index of the CollectionT.
(Inherited from CollectionSelectableListNodeWithParent)
Protected methodRemoveItem
(Overrides ObservableCollectionTRemoveItem(Int32))
Protected methodSetItem
(Overrides ObservableCollectionTSetItem(Int32, T))
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventCollectionChangedOccurs when an item is added, removed, changed, moved, or the entire list is refreshed.
(Inherited from ObservableCollectionSelectableListNodeWithParent)
Protected eventPropertyChangedOccurs when a property value changes.
(Inherited from ObservableCollectionSelectableListNodeWithParent)
Public eventSelectedItemsChanged 
Top
Extension Methods
See Also