ICustomPropertyProvider インターフェイス

定義

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 オートメーション値を生成するなどの機能またはサービスによってアクセスされる場合があります。

適用対象

こちらもご覧ください