ElementFactoryGetArgs Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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. |