Click or drag to resize

StyleListManagerBaseTList, TItem, TListManagerEntryTryRegisterList(TList, ItemDefinitionLevel, TList) Method

Try to register the provided list.

Namespace: Altaxo.Drawing
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public bool TryRegisterList(
	TList instance,
	ItemDefinitionLevel level,
	out TList storedList
)

Parameters

instance  TList
The new list which is tried to register.
level  ItemDefinitionLevel
The level on which this list is defined.
storedList  TList
On return, this is the list which is either registered, or is an already registed list with exactly the same elements.

Return Value

Boolean
True if the list was new and thus was added to the collection; false if the list has already existed.

Implements

IStyleListManagerTList, TTryRegisterList(TList, ItemDefinitionLevel, TList)
See Also