Click or drag to resize

ItemsControllerTItem(SelectableListNodeList, ActionTItem) Constructor

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 ItemsController(
	SelectableListNodeList list,
	Action<TItem>? OnSelectedItemChanged = null
)

Parameters

list  SelectableListNodeList
The list. Must contain elements with tags of type TItem. On of the list items should have the IsSelected property set to true, in order to initialize the SelectedItem and SelectedValue property.
OnSelectedItemChanged  ActionTItem  (Optional)
An optional action, that is executed if the selected value changed.
See Also