Table of Contents

Method Generate

Namespace
Bonsai.Gui
Assembly
Bonsai.Gui.dll

Generate<TValue>(IObservable<IList<TValue>>)

Generates an observable sequence of values containing the currently selected item from the data source whenever the selection changes.

protected abstract IObservable<TValue> Generate<TValue>(IObservable<IList<TValue>> source)

Parameters

source IObservable<IList<TValue>>

A sequence of collections representing the data sources to bind to the UI control. Only one collection is bound at any one time.

Returns

IObservable<TValue>

A sequence of values representing the currently selected item in the UI control.

Type Parameters

TValue

The type of the values in the data source.