ElementFactoryGetArgs Class

Definition

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

class ElementFactoryGetArgs
[Windows.Foundation.Metadata.Composable(typeof(Windows.UI.Xaml.IElementFactoryGetArgsFactory), Windows.Foundation.Metadata.CompositionType.Public, 458752, "Windows.Foundation.UniversalApiContract")]
[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)]
[Windows.Foundation.Metadata.WebHostHidden]
public class ElementFactoryGetArgs
Public Class ElementFactoryGetArgs
Inheritance
ElementFactoryGetArgs
Attributes

Windows 10 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