Click or drag to resize

NGTreeNodeCollection Interface

Represents a collection of NGTreeNode.

Namespace: Altaxo.Collections
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public interface NGTreeNodeCollection : IList<NGTreeNode>, 
	ICollection<NGTreeNode>, IEnumerable<NGTreeNode>, IEnumerable, 
	INotifyCollectionChanged

The NGTreeNodeCollection type exposes the following members.

Properties
 NameDescription
Public propertyCountGets the number of elements contained in the ICollectionT.
(Inherited from ICollectionNGTreeNode)
Public propertyIsReadOnlyGets a value indicating whether the ICollectionT is read-only.
(Inherited from ICollectionNGTreeNode)
Public propertyItemGets or sets the element at the specified index.
(Inherited from IListNGTreeNode)
Top
Methods
 NameDescription
Public methodAddAdds an item to the ICollectionT.
(Inherited from ICollectionNGTreeNode)
Public methodAddRange Adds a bunch of nodes.
Public methodAddSorted Adds a tree node to a collection into a certain position. The new node is inserted at the first position where the comparison between the new tree node and the existing nodes returns a value less than or equal to zero.
Public methodClearRemoves all items from the ICollectionT.
(Inherited from ICollectionNGTreeNode)
Public methodContainsDetermines whether the ICollectionT contains a specific value.
(Inherited from ICollectionNGTreeNode)
Public methodCopyToCopies the elements of the ICollectionT to an Array, starting at a particular Array index.
(Inherited from ICollectionNGTreeNode)
Public methodGetEnumeratorReturns an enumerator that iterates through the collection.
(Inherited from IEnumerableNGTreeNode)
Public methodIndexOfDetermines the index of a specific item in the IListT.
(Inherited from IListNGTreeNode)
Public methodInsertInserts an item to the IListT at the specified index.
(Inherited from IListNGTreeNode)
Public methodRemoveRemoves the first occurrence of a specific object from the ICollectionT.
(Inherited from ICollectionNGTreeNode)
Public methodRemoveAtRemoves the IListT item at the specified index.
(Inherited from IListNGTreeNode)
Public methodSwap Swap the nodes of indices i and j.
Top
Events
 NameDescription
Public eventCollectionChangedOccurs when the collection changes.
(Inherited from INotifyCollectionChanged)
Top
Extension Methods
 NameDescription
Public Extension MethodAddRangeNGTreeNode Adds a range of items to a collection.
(Defined by ListExtensions)
Public Extension MethodAreAllNodesFromSameLevelNGTreeNode Determines whether all nodes in the provided enumeration have the same level (see LevelT(T) for an explanation of level).
(Defined by TreeNodeExtensions)
Public Extension MethodExchangePositionsNGTreeNode Exchange the positions of two items in a list.
(Defined by ListExtensions)
Public Extension MethodFillWithNGTreeNode
(Defined by ListExtensions)
Public Extension MethodFirstOrNGTreeNode Returns the first value of the enumeration, or, if the enumeration is empty, the other value provided in the arguments.
(Defined by EnumerableExtensions)
Public Extension MethodFlattenFromRootToLeavesNGTreeNode Converts a recursive data structure into a flat list. The root element is enumerated before its corresponding child element(s).
(Defined by EnumerableExtensions)
Public Extension MethodForEachDoNGTreeNode Executes an action for each element of the sequence.
(Defined by EnumerableExtensions)
Public Extension MethodHasSingleElementNGTreeNode Determines whether the specified enumeration has exactly one element.
(Defined by EnumerableExtensions)
Public Extension MethodIndexOfNGTreeNode Gets the index of an item in a enumeration or list.
(Defined by ListExtensions)
Public Extension MethodIndexOfFirstNGTreeNode Gets the index the of first item in list that fulfills the predicate predicate
(Defined by ListExtensions)
Public Extension MethodIndexOfFirstNGTreeNode Gets the index the of first item in list that fulfills the predicate predicate
(Defined by ListExtensions)
Public Extension MethodIndexOfLastNGTreeNode Gets the index the of last item in list that fulfills the predicate predicate
(Defined by ListExtensions)
Public Extension MethodIndexOfMaxNGTreeNodeReturn the index of the element with the maximum value in an enumerable. If multiple elements with the same minimal value exist, the index of the first element in the sequence is returned.
(Defined by EnumerableExtensions)
Public Extension MethodIndexOfMinNGTreeNodeReturn the index of the element with the minimum value in an enumerable. If multiple elements with the same minimal value exist, the index of the first element in the sequence is returned.
(Defined by EnumerableExtensions)
Public Extension MethodIndicesInt32AndValuesWhereNGTreeNode Returns tuples of index and element of all elements in an enumeration which fullfill a given condition, given by the element's value.
(Defined by EnumerableExtensions)
Public Extension MethodIndicesInt32AndValuesWhereNGTreeNode Returns tuples of index and element of all elements in an enumeration which fullfill a given condition, given by the element's value and its index.
(Defined by EnumerableExtensions)
Public Extension MethodIndicesInt32WhereNGTreeNode Returns the indices of the elements which fullfill a given condition, given by the element's value.
(Defined by EnumerableExtensions)
Public Extension MethodIndicesInt32WhereNGTreeNode Returns the indices of the elements which fullfill a given condition, given by the element's value and its index.
(Defined by EnumerableExtensions)
Public Extension MethodIndicesOfMinMaxNGTreeNodeReturn the index of the element with the minimum value in an enumerable. If multiple elements with the same minimal value exist, the index of the first element in the sequence is returned.
(Defined by EnumerableExtensions)
Public Extension MethodIsEmptyNGTreeNode Determines whether the specified enumeration is empty.
(Defined by EnumerableExtensions)
Public Extension MethodJoinConditionalNGTreeNode, T2 Takes a join of two sequences, but only takes into account those pair, which fulfill a given condition.
(Defined by EnumerableExtensions)
Public Extension MethodJoinConditionalNGTreeNode, T2, TResult Takes a join of two sequences, but only takes into account those pair, which fulfill a given condition.
(Defined by EnumerableExtensions)
Public Extension MethodLastOrNGTreeNode Returns the last value of the enumeration, or, if the enumeration is empty, the other value provided in the arguments.
(Defined by EnumerableExtensions)
Public Extension MethodMaxElementNGTreeNode, M Gets the element of a IEnumerabe that evaluates by means of a conversion function to the maximal value. This is different from Select(x => conversion(x)).Max() insofar as it not returns the maximum value, but the original element x which converts to the maximum value.
(Defined by EnumerableExtensions)
Public Extension MethodMaxOrDefaultNGTreeNode, M Evaluates the maximum of a enumeration of elements, or returns a default value if the series is empty.
(Defined by EnumerableExtensions)
Public Extension MethodMoveItemToIndexNGTreeNode Moves a item to another list position. All items inbetween the interval originalIndex and destinationIndex will slip by one position (except the item at originalIndex, which will of course move to destinationIndex.
(Defined by ListExtensions)
Public Extension MethodMoveSelectedItemsNGTreeNode Moves the selected items towards higher indices (for steps > 0) or lower indices (for steps < 0).
(Defined by ListExtensions)
Public Extension MethodMoveSelectedItemsToMaximumIndexNGTreeNode Moves the selected item so that the selected item with the formerly highest index is afterwards at the end of the list (at index list.Count-1).
(Defined by ListExtensions)
Public Extension MethodMoveSelectedItemsToMinimumIndexNGTreeNode Moves the selected item so that the selected item with the formerly lowest index is afterwards at the start of the list (at index 0).
(Defined by ListExtensions)
Public Extension MethodMoveSelectedItemsTowardsHigherIndicesNGTreeNode Moves the selected items towards higher indices.
(Defined by ListExtensions)
Public Extension MethodMoveSelectedItemsTowardsLowerIndicesNGTreeNode Moves the selected items towards lower indices.
(Defined by ListExtensions)
Public Extension MethodRemoveWhereNGTreeNode Removes all items for which the predicate function returns true.
(Defined by ListExtensions)
Public Extension MethodRemoveWhereNGTreeNode Removes all items for which the predicate function returns true.
(Defined by ListExtensions)
Public Extension MethodSelectCombinationNGTreeNode Select a random combination, without repetition, from a data sequence by selecting k elements in original order.
(Defined by Combinatorics)
Public Extension MethodSelectCombinationWithRepetitionNGTreeNode Select a random combination, with repetition, from a data sequence by selecting k elements in original order.
(Defined by Combinatorics)
Public Extension MethodSelectPermutationNGTreeNode Select a random permutation from a data sequence by returning the provided data in random order. Implemented using Fisher-Yates Shuffling.
(Defined by Combinatorics)
Public Extension MethodSelectVariationNGTreeNode Select a random variation, without repetition, from a data sequence by randomly selecting k elements in random order. Implemented using partial Fisher-Yates Shuffling.
(Defined by Combinatorics)
Public Extension MethodSelectVariationWithRepetitionNGTreeNode Select a random variation, with repetition, from a data sequence by randomly selecting k elements in random order.
(Defined by Combinatorics)
Public Extension MethodTakeAllButLastNGTreeNode Takes all elements of the enumeration except the last element.
(Defined by EnumerableExtensions)
Public Extension MethodTakeFromUpperIndexExclusiveDownToLowerIndexInclusiveNGTreeNode Takes all elements of a list, starting from index upperIndexExclusive - 1 down to the index lowerIndexInclusive.
(Defined by EnumerableExtensions)
Public Extension MethodTakeFromUpperIndexInclusiveDownToLowerIndexInclusiveNGTreeNode Takes all elements of a list, starting from index upperIndexInclusive down to the index lowerIndexInclusive.
(Defined by EnumerableExtensions)
Public Extension MethodThisOrEmptyNGTreeNode Returns either the provided enumeration, or if it is null, an empty enumeration.
(Defined by EnumerableExtensions)
Public Extension MethodTryGetFirstAndLastNGTreeNode Returns true and the first and last value of the enumeration, or, if the enumeration is empty, returns false.
(Defined by EnumerableExtensions)
Public Extension MethodTryGetSingleElementNGTreeNode Try to get the one and only element of the collection.
(Defined by EnumerableExtensions)
Top
See Also