Summary
Notifies the layout when the data collection assigned to the container element (Items)
has changed.
- Namespace
- Avalonia
.Layout - Containing Type
- VirtualizingLayout
Syntax
public void OnItemsChanged(VirtualizingLayoutContext context, object source, NotifyCollectionChangedEventArgs args)
Remarks
Override
Avalonia.Layout.VirtualizingLayout.OnItemsChangedCore(Avalonia.Layout.VirtualizingLayoutContext,System.Object,NotifyCollectionChangedEventArgs)
to provide the behavior for this method in a derived class.
Parameters
Name | Type | Description |
---|---|---|
context | Virtualizing |
The context object that facilitates communication between the layout and its host container. |
source | object | The data source. |
args | Notify |
Data about the collection change. |
Return Value
Type | Description |
---|---|
void |