BindableList<TItem>
A list source: any list literal, or a
Bind(...) expression.Changes animate when the list is an
ObservableCollection.
- Kind: Struct
- Namespace: SkeleKit
| Type parameter | Summary |
|---|---|
TItem | The element type of the list. |
Methods
GetEnumerator
Enumerates the current list value.
Returns
IEnumerator<TItem>: An enumerator over the current items.
Operators
Implicit BindableList<TItem>(BindingExpression<IReadOnlyList<TItem>?>)
Wraps an active binding to a list-typed source property.
| Parameter | Summary |
|---|---|
BindingExpression<IReadOnlyList<TItem>?> expression | The evaluation rule for the property. |
Returns
BindableList<TItem>: A list source using the binding expression.
Implicit BindableList<TItem>(BindingExpression<List<TItem>?>)
Wraps an active binding to a List-typed source property.
| Parameter | Summary |
|---|---|
BindingExpression<List<TItem>?> expression | The evaluation rule for the property. |
Returns
BindableList<TItem>: A list source using the binding expression.
Implicit BindableList<TItem>(BindingExpression<ObservableCollection<TItem>?>)
Wraps an active binding to an ObservableCollection-typed source property.
| Parameter | Summary |
|---|---|
BindingExpression<ObservableCollection<TItem>?> expression | The evaluation rule for the property. |
Returns
BindableList<TItem>: A live list source using the binding expression.
Implicit BindableList<TItem>(List<TItem>)
Wraps a list literal.
| Parameter | Summary |
|---|---|
List<TItem> value | The items to show. |
Returns
BindableList<TItem>: A list source containing the list.
Implicit BindableList<TItem>(ObservableCollection<TItem>)
Wraps an observable collection, whose changes animate into place.
| Parameter | Summary |
|---|---|
ObservableCollection<TItem> value | The live items to show. |
Returns
BindableList<TItem>: A live list source containing the collection.
Implicit BindableList<TItem>(TItem)
Wraps an array literal.
| Parameter | Summary |
|---|---|
TItem value | The items to show. |
Returns
BindableList<TItem>: A list source containing the array.