PropertyTranslator Delegate

PropertyTranslator Delegate


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

Namespace:   System.Windows.Forms.Integration
Assembly:  WindowsFormsIntegration (in WindowsFormsIntegration.dll)

type PropertyTranslator = 
    delegate of 
        host:Object *
        propertyName:string *
        value:Object -> unit


Type: System.Object

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

Type: System.String

The name of the property being translated.

Type: System.Object

The new value of the property.

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.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft