ElementFactoryRecycleArgs 类

定义

表示在调用 IElementFactory 对象的 RecycleElement 方法的实现时要使用的可选参数。

public ref class ElementFactoryRecycleArgs sealed
/// [Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
/// [Windows.Foundation.Metadata.Activatable(1)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Version(1)]
class ElementFactoryRecycleArgs final
[Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
[Windows.Foundation.Metadata.Activatable(1)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Version(1)]
public sealed class ElementFactoryRecycleArgs
Public NotInheritable Class ElementFactoryRecycleArgs
继承
Object Platform::Object IInspectable ElementFactoryRecycleArgs
属性
Microsoft.UI.Xaml.CustomAttributes.MUXContractPropertyAttribute ActivatableAttribute MarshalingBehaviorAttribute ThreadingAttribute VersionAttribute

构造函数

ElementFactoryRecycleArgs()

初始化 ElementFactoryRecycleArgs 类的新实例。

属性

Element

获取或设置要回收的元素。

Parent

获取或设置回收元素的父元素。

适用于