IElementFactory Interface
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.
public interface class IElementFactory
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.Guid(399682960, 4976, 21960, 128, 225, 120, 180, 144, 4, 169, 225)]
struct IElementFactory
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.Guid(399682960, 4976, 21960, 128, 225, 120, 180, 144, 4, 169, 225)]
public interface IElementFactory
Public Interface IElementFactory
- Derived
- Attributes
Device family |
Windows 10, version 1809 (introduced in 10.0.17763.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v7.0)
|
Two concrete implementations of this interface are:
The GetElement method is used to retrieve a valid instance of a UIElement. The RecycleElement method is used to recycle elements.
Get |
Gets an UIElement object. |
Recycle |
Recycles a UIElement that was previously retrieved using GetElement. |
Product | Versions |
---|---|
WinRT | Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100 |