Skip to main content

SelectionNodeBase<T>.CollectionChangeState Class

Details the results of a collection change on the current selection;

Definition

Namespace: Avalonia.Controls.Selection
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

protected class CollectionChangeState
View Source
InheritanceObject → SelectionNodeBase(T).CollectionChangeState

Constructors

SelectionNodeBase(T).CollectionChangeState()Initializes a new instance of the SelectionNodeBase(T).CollectionChangeState class

Properties

RemovedItemsGets or sets the items removed by the collection change, if any.
ShiftDeltaGets or sets a value indicating how the indexes after ShiftIndex were shifted.
ShiftIndexGets or sets the first index that was shifted as a result of the collection changing.

Methods

Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize()Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode()Serves as the default hash function.
(Inherited from Object)
GetType()Gets the Type of the current instance.
(Inherited from Object)
MemberwiseClone()Creates a shallow copy of the current Object.
(Inherited from Object)
ToString()Returns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Avalonia.Controls.Selection Namespace