Share via


VirtualizingLayoutContext.RecycleElementCore(UIElement) Method

Definition

When implemented in a derived class, clears the specified UIElement and allows it to be either re-used or released.

protected:
 virtual void RecycleElementCore(UIElement ^ element) = RecycleElementCore;
void RecycleElementCore(UIElement const& element);
protected virtual void RecycleElementCore(UIElement element);
function recycleElementCore(element)
Protected Overridable Sub RecycleElementCore (element As UIElement)

Parameters

element
UIElement

The element to clear.

Remarks

This method provides the behavior when RecycleElementCore(Microsoft.UI.Xaml.UIElement) is called.

The base implementation throws a NotImplementedException (winrt::hresult_not_implemented).

Applies to