VirtualizingLayoutContext.RecycleElementCore(UIElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When implemented in a derived class, clears the specified UIElement and allows it to be either re-used or released.
This documentation applies to WinUI 2 for UWP (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
protected:
virtual void RecycleElementCore(UIElement ^ element) = RecycleElementCore;
void RecycleElementCore(UIElement const& element);
protected virtual void RecycleElementCore(UIElement element);
Protected Overridable Sub RecycleElementCore (element As UIElement)
Parameters
- element
- UIElement
The element to clear.
Remarks
This method provides the behavior when RecycleElement is called.
The base implementation throws a NotImplementedException (winrt::hresult_not_implemented).