IElementFactory.RecycleElement(ElementFactoryRecycleArgs) Method

Definition

Recycles a UIElement that was previously retrieved using GetElement.

Equivalent WinUI method: Microsoft.UI.Xaml.IElementFactory.RecycleElement.

void RecycleElement(ElementFactoryRecycleArgs const & args);
public void RecycleElement(ElementFactoryRecycleArgs args);
function recycleElement(args)
Public Sub RecycleElement (args As ElementFactoryRecycleArgs)

Parameters

Remarks

For more info, see the remarks for the DataTemplate.RecycleElement method.

Applies to

See also