ElementFactoryRecycleArgs Class

Definition

Represents the optional arguments to use when calling an implementation of the IElementFactory 's RecycleElement method.

class ElementFactoryRecycleArgs
[Windows.Foundation.Metadata.Composable(typeof(Windows.UI.Xaml.IElementFactoryRecycleArgsFactory), Windows.Foundation.Metadata.CompositionType.Public, 458752, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.WebHostHidden]
public class ElementFactoryRecycleArgs
Public Class ElementFactoryRecycleArgs
Inheritance
ElementFactoryRecycleArgs
Attributes

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 RecycleElement method.

Constructors

ElementFactoryRecycleArgs()

Initializes a new instance of the ElementFactoryRecycleArgs class.

Properties

Element

Gets or sets the UIElement object to recycle when calling RecycleElement.

Parent

Gets or sets a reference to the current parent UIElement of the element being recycled.

Applies to