PropertyTranslator Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |