PropertyTranslator 代理人

定義

ホスト コントロールのマップされたプロパティの変換関数を提供します。

public delegate void PropertyTranslator(System::Object ^ host, System::String ^ propertyName, System::Object ^ value);
public delegate void PropertyTranslator(object host, string propertyName, object value);
type PropertyTranslator = delegate of obj * string * obj -> unit
Public Delegate Sub PropertyTranslator(host As Object, propertyName As String, value As Object)

パラメーター

host
Object

プロパティがマップされているホスト コントロール。 ホスト コントロールは、 WindowsFormsHost または ElementHostです。

propertyName
String

変換されるプロパティの名前。

value
Object

プロパティの新しい値です。

注釈

PropertyTranslator デリゲートは、Windows フォームとWPFの間のプロパティ マッピングを実装するために、PropertyMap クラスによって使用されます。 詳細については、「 Windows フォームと WPF プロパティ マッピング」を参照してください。

拡張メソッド

名前 説明
GetMethodInfo(Delegate)

指定したデリゲートによって表されるメソッドを表すオブジェクトを取得します。

適用対象

こちらもご覧ください