PropertyTranslator PropertyTranslator PropertyTranslator PropertyTranslator Delegate

Definition

Provides a translation function for a mapped property of the host control.

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)

Parameters

host
Object Object Object Object

The host control whose property is being mapped. The host control is either a WindowsFormsHost or an ElementHost.

propertyName
String String String String

The name of the property being translated.

value
Object Object Object Object

The new value of the property.

Inheritance
PropertyTranslatorPropertyTranslatorPropertyTranslatorPropertyTranslator

Remarks

The PropertyTranslator delegate is used by the PropertyMap class to implement property mapping between Windows Forms and WPF. For more information, see Windows Forms and WPF Property Mapping.

Extension Methods

GetMethodInfo(Delegate) GetMethodInfo(Delegate) GetMethodInfo(Delegate) GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to

See also