AvaloniaObjectExtensions.

ToBinding<T>(IObservable<T>) Method

Summary

Converts an IObservable<T> to an IBinding.
Namespace
Avalonia
Containing Type
AvaloniaObjectExtensions

Syntax

public static IBinding ToBinding<T>(this IObservable<T> source)

Type Parameters

Name Description
T The type produced by the observable.

Parameters

Name Type Description
source IObservable<T> The observable

Return Value

Type Description
IBinding An IBinding.