مشاركة عبر


ElementFactoryGetArgs Class

Definition

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