Udostępnij za pośrednictwem


ElementFactoryRecycleArgs Class

Definition

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

/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [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(Windows.Foundation.UniversalApiContract), 458752)]
[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

Windows 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