DataTemplateSelector.RecycleElement(ElementFactoryRecycleArgs) Method

Definition

Recycles a UIElement object that was created using GetElement.

Equivalent WinUI method: Microsoft.UI.Xaml.Controls.DataTemplateSelector.RecycleElement.

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

Parameters

Implements

Windows 10 requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Remarks

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

Applies to

See also