VirtualizingLayoutContext.

RecycleElement(ILayoutable) Method

Summary

Clears the specified UIElement and allows it to be either re-used or released.
Namespace
Avalonia.Layout
Containing Type
VirtualizingLayoutContext

Syntax

public void RecycleElement(ILayoutable element)

Remarks

This method calls RecycleElementCore(ILayoutable), which must be implemented in a derived class.

Parameters

Name Type Description
element ILayoutable The element to clear.

Return Value

Type Description
void