Share via


ElementFactoryGetArgs Class

Definition

Represents the optional arguments to use when calling an implementation of the IElementFactory's GetElement 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 ElementFactoryGetArgs
[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 ElementFactoryGetArgs
Public Class ElementFactoryGetArgs
Inheritance
Object IInspectable ElementFactoryGetArgs
Attributes

Remarks

For more info, see the GetElement method.

Constructors

ElementFactoryGetArgs()

Initializes a new instance of the ElementFactoryGetArgs class.

Properties

Data

Gets or sets the data item for which an appropriate element tree should be realized when calling GetElement.

Parent

Gets or sets the UIElement that is expected to be the parent of the realized element from GetElement.

Applies to