Click or drag to resize

ItemsControllerTItemInitialize(SelectableListNodeList, TItem, ActionTItem) Method

Initializes a new instance of the ItemsControllerTItem class.

Namespace: Altaxo.Gui.Common
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public void Initialize(
	SelectableListNodeList list,
	TItem selectedValue,
	Action<TItem>? OnSelectedValueChanged = null
)

Parameters

list  SelectableListNodeList
The list of choices. The Tag property must contain values of type TItem.
selectedValue  TItem
The selected value.
OnSelectedValueChanged  ActionTItem  (Optional)
An optional action, that is executed if the selected value changed
See Also