ElementFactoryRecycleArgs Class

Definition

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

/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ElementFactoryRecycleArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public class ElementFactoryRecycleArgs
Public Class ElementFactoryRecycleArgs
Inheritance
Object IInspectable ElementFactoryRecycleArgs
Attributes

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