Click or drag to resize

PartitionableListAddBehavior Enumeration

Determines the behavior when an item is inserted in the PartitionableList

Namespace: Altaxo.Collections
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public enum PartitionableListAddBehavior
Members
Member nameValueDescription
KeepTogether_AddLastIfEmpty0If there are items in the partial view, the new item is added to the parent list immediately after the last item of the partial view. If the partial view is empty, the new item is added to the parent list as the last item.
KeepTogether_AddFirstIfEmpty1If there are items in the partial view, the new item is added to the parent list immediately after the last item of the partial view. If the partial view is empty, the new item is inserted in the parent list at index 0.
AddLast_AddLastIfEmpty2If there are items in the partial view, the new item is added to the parent list as the last item. If the partial view is empty, the new item is added to the parent list as the last item.
AddLast_AddFirstIfEmpty3If there are items in the partial view, the new item is added to the parent list as the last item. If the partial view is empty, the new item is inserted in the parent list at index 0.
See Also