WindowsFormsHost.PropertyMap Property


Gets the property map that determines how setting properties on the WindowsFormsHost element affects the hosted Windows Forms control.

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

member PropertyMap : PropertyMap with get

Property Value

Type: System.Windows.Forms.Integration.PropertyMap

A PropertyMap that maps WindowsFormsHost properties to properties on the hosted Windows Forms control.

The Windows Forms and WPF technologies have two similar but different property models. Property mapping supports interoperation between the two architectures. For more information, see Windows Forms and WPF Property Mapping.

The following code example shows how to add a mapping for the FlowDirection property to a WindowsFormsHost control.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top