ICustomPropertyProvider インターフェイス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ICustomProperty サポートのルックアップ サービスを提供します。 このインターフェイスは、カスタム定義プロパティを実行時バインディング ソースとして使用できるように、オブジェクトによって実装されます。
public interface class ICustomPropertyProvider
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2089965397, 15944, 17076, 134, 119, 118, 55, 34, 103, 3, 63)]
struct ICustomPropertyProvider
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.Guid(2089965397, 15944, 17076, 134, 119, 118, 55, 34, 103, 3, 63)]
public interface ICustomPropertyProvider
Public Interface ICustomPropertyProvider
- 派生
- 属性
プロパティ
| 名前 | 説明 |
|---|---|
| Type |
カスタム プロパティの基になる型を取得します。 |
メソッド
| 名前 | 説明 |
|---|---|
| GetCustomProperty(String) |
プロパティ名を指定して、カスタム プロパティの ICustomProperty サポート オブジェクトを取得します。 |
| GetIndexedProperty(String, TypeName) |
プロパティ名とインデックス付きコレクションの型を指定して、カスタム プロパティの ICustomProperty サポート オブジェクトを取得します。 |
| GetStringRepresentation() |
実装が System.Object をサポートしていることを前提として、"GetStringFromObject" または "ToString" ロジックのサポートを提供します。 このロジックは、データ コンテンツに基づいてUI オートメーション値を生成するなどの機能またはサービスによってアクセスされる場合があります。 |