Click or drag to resize

IndexSelection Class

Selection of indices, mimicking the behavior of selection in lists etc, using CTRL key to select single items and SHIFT to select multiple items.
Inheritance Hierarchy
SystemObject
  Altaxo.CollectionsAscendingIntegerCollection
    Altaxo.CollectionsIndexSelection

Namespace: Altaxo.Collections
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class IndexSelection : AscendingIntegerCollection

The IndexSelection type exposes the following members.

Constructors
 NameDescription
Public methodIndexSelectionInitializes a new instance of the IndexSelection class
Top
Properties
 NameDescription
Public propertyCount Number of integer values stored in this collection
(Inherited from AscendingIntegerCollection)
Public propertyItem Returns the integer stored at position
C#
.
(Inherited from AscendingIntegerCollection)
Public propertyLastSelection Gets the last selected index.
Public propertyRangesAscending
(Inherited from AscendingIntegerCollection)
Public propertyRangesDescending
(Inherited from AscendingIntegerCollection)
Top
Methods
 NameDescription
Public methodAdd(IAscendingIntegerCollection) Adds all values from another IAscendingIntegerCollection.
(Inherited from AscendingIntegerCollection)
Public methodAdd(Int32) Adds an integer value to the collection.
(Inherited from AscendingIntegerCollection)
Public methodAddRange Adds an integer range given by start and count to the collection.
(Inherited from AscendingIntegerCollection)
Public methodClear Clears the collection, i.e. removes all entries.
(Inherited from AscendingIntegerCollection)
Public methodClone
(Inherited from AscendingIntegerCollection)
Public methodContains Returns true, if the integer
C#
nValue
is contained in this collection.
(Inherited from AscendingIntegerCollection)
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 methodGetEnumerator
(Inherited from AscendingIntegerCollection)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetNextRangeAscending Get the next range (i.e. a contiguous range of integers) in ascending order.
(Inherited from AscendingIntegerCollection)
Public methodGetNextRangeDescending Get the next range (i.e. a contiguous range of integers) in descending order.
(Inherited from AscendingIntegerCollection)
Public methodGetRangeCount Returns the number of integer ranges this collection represents.
(Inherited from AscendingIntegerCollection)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIsSelected Determines whether the specified index nIndex is selected.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRemove Removes an integer value from the collection.
(Inherited from AscendingIntegerCollection)
Public methodRemoveAllAbove
(Inherited from AscendingIntegerCollection)
Public methodRemoveAt Removes an integer at a given position from the collection (e.g. in general not the integer you provide as argument is removed (!)).
(Inherited from AscendingIntegerCollection)
Public methodSelect Selects the specified index nIndex, mimicking the behavior when using CTRL and SHIFT keys.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
See Also