Uređivanje

Dijeli putem


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

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

propertyName
String

The name of the property being translated.

value
Object

The new value of the property.

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)

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

Applies to

See also