<Window x:Class="HostingWindowsFormsControl.Window1"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:swf="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms"
  Title="Osadzanie kontrolki Windows Forms PropertyGrid w WPF"
  Name="rootWindow">
    <Grid>
      <WindowsFormsHost>
        <swf:PropertyGrid x:Name="propertyGrid" SelectedObject="{x:Reference rootWindow}"/>
      </WindowsFormsHost>
    </Grid>
</Window>