SelectionNodeBaseT Class

Base class for selection models.

Definition

Namespace: Avalonia.Controls.Selection
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public abstract class SelectionNodeBase<T>
Inheritance
Object    SelectionNodeBaseT
Derived

Type Parameters

T
The type of the element being selected.

Constructors

SelectionNodeBaseTInitializes a new instance of the SelectionNodeBaseT class

Properties

ItemsView Gets an ItemsSourceViewT of the Source.
RangesEnabled Gets or sets a value indicating whether range selection is currently enabled for the selection node.
Source Gets or sets the source collection.

Methods

CommitDeselect(Int32, Int32) If RangesEnabled, removes the specified range from the selection.
CommitSelect(Int32, Int32) If RangesEnabled, adds the specified range to the selection.
Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
OnIndexesChanged(Int32, Int32) Called by OnSourceCollectionChanged(NotifyCollectionChangedEventArgs), detailing the indexes changed by the collection changing.
OnItemsAdded(Int32, IList) Called by OnSourceCollectionChanged(NotifyCollectionChangedEventArgs) when items are added to the source collection.
OnSelectionRemoved(Int32, Int32, IReadOnlyListT) Called by OnSourceCollectionChanged(NotifyCollectionChangedEventArgs), detailing the items removed by a collection change.
OnSourceCollectionChanged(NotifyCollectionChangedEventArgs) Called when the Source collection changes.
OnSourceCollectionChangeFinished Called when the source collection has finished changing, and all CollectionChanged handlers have run.
OnSourceCollectionChangeStarted Called when the source collection starts changing.
OnSourceReset Called by OnSourceCollectionChanged(NotifyCollectionChangedEventArgs), on collection reset.
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also