CollectionExtensions Type
C#-friendly wrappers around the collection bindings. The overloads that take F# lists upcast each snapshot internally, so model lists bind without a manual conversion. Like the F# extensions, they return the control for chaining and need no disposal.
Static members
| Static member |
Description
|
Full Usage:
CollectionExtensions.BindItemsSource(this, source)
Parameters:
ItemsControl
source : IObservable<'T list>
Returns: ItemsControl
Type parameters: 'T (requires equality) |
Bind an observable of F# list snapshots using structural equality.
|
Full Usage:
CollectionExtensions.BindItemsSource(this, source)
Parameters:
ItemsControl
source : IObservable<IReadOnlyList<'T>>
Returns: ItemsControl
Type parameters: 'T (requires equality) |
Bind an observable of item snapshots using structural equality.
|
Full Usage:
CollectionExtensions.BindItemsSource(this, source, keyOf)
Parameters:
ItemsControl
source : IObservable<'T list>
keyOf : Func<'T, 'K>
Returns: ItemsControl
Type parameters: 'T, 'K (requires equality and equality) |
Bind an observable of F# list snapshots, matching items by key.
|
Full Usage:
CollectionExtensions.BindItemsSource(this, source, keyOf)
Parameters:
ItemsControl
source : IObservable<IReadOnlyList<'T>>
keyOf : Func<'T, 'K>
Returns: ItemsControl
Type parameters: 'T, 'K (requires equality and equality) |
Bind an observable of item snapshots, matching items by key.
|
MVUish.Avalonia