IElementFactory インターフェイス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
public interface class IElementFactory
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1979365959, 11506, 21678, 145, 230, 5, 129, 85, 111, 221, 170)]
struct IElementFactory
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.Guid(1979365959, 11506, 21678, 145, 230, 5, 129, 85, 111, 221, 170)]
public interface IElementFactory
Public Interface IElementFactory
- 派生
- 属性
注釈
このインターフェイスの 2 つの具体的な実装は次のとおりです。
GetElement メソッドは、UIElement の有効なインスタンスを取得するために使用されます。 RecycleElement メソッドは、要素をリサイクルするために使用されます。
メソッド
| 名前 | 説明 |
|---|---|
| GetElement(ElementFactoryGetArgs) |
UIElement オブジェクトを取得します。 |
| RecycleElement(ElementFactoryRecycleArgs) |
GetElement を使用して以前に取得した UIElement をリサイクルします。 |