Skip to content

Instantly share code, notes, and snippets.

@Larry57
Created October 18, 2012 06:37
Show Gist options
  • Save Larry57/3910190 to your computer and use it in GitHub Desktop.
Save Larry57/3910190 to your computer and use it in GitHub Desktop.
Magic xaml tip to make a WindowsFormsHost resize correctly when the application is embedded in a XBAP.
<WindowsFormsHost Margin="0" x:Name="winFormHost" FontSize="11.33" FontFamily="Microsoft Sans Serif" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment