IElementFactory.RecycleElement(ElementFactoryRecycleArgs) IElementFactory.RecycleElement(ElementFactoryRecycleArgs) IElementFactory.RecycleElement(ElementFactoryRecycleArgs) IElementFactory.RecycleElement(ElementFactoryRecycleArgs) Method

Definition

Recycles a UIElement that was previously retrieved using GetElement.

public : void RecycleElement(ElementFactoryRecycleArgs args)
void RecycleElement(ElementFactoryRecycleArgs args) const;
public void RecycleElement(ElementFactoryRecycleArgs args)
Public Sub RecycleElement(args As ElementFactoryRecycleArgs)

Parameters

Remarks

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

See also

  • T:Windows.UI.Xaml.IElementFactory * DataTemplate * M:Windows.UI.Xaml.DataTemplate.GetElement(Windows.UI.Xaml.ElementFactoryGetArgs) * M:Windows.UI.Xaml.DataTemplate.RecycleElement(Windows.UI.Xaml.ElementFactoryRecycleArgs) * DataTemplateSelector * M:Windows.UI.Xaml.Controls.DataTemplateSelector.GetElement(Windows.UI.Xaml.ElementFactoryGetArgs) * M:Windows.UI.Xaml.Controls.DataTemplateSelector.RecycleElement(Windows.UI.Xaml.ElementFactoryRecycleArgs)