IElementFactory.GetElement(ElementFactoryGetArgs) Method
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.
UIElement GetElement(ElementFactoryGetArgs const& args);
public UIElement GetElement(ElementFactoryGetArgs args);
function getElement(args)
Public Function GetElement (args As ElementFactoryGetArgs) As UIElement
An instance of ElementFactoryGetArgs.
A UIElement object.
When you call GetElement, the UIElement object that is returned can be added to the visual tree of another UIElement. GetElement is not required to create a new instance each time it is invoked. The UIElement being returned may be an existing instance that has been prepared for re-use.
For more info, see the remarks for the DataTemplate.GetElement method.
Product | Versions |
---|---|
WinRT | Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100 |