Closed MuhammadSulaiman001 closed 3 years ago
I tried to use PanAndZoom with WindowsFormsHost but it did not work:
<panAndZoom:ZoomBorder HorizontalAlignment="Stretch" Focusable="True" ZoomSpeed="1.2" Stretch="None" ClipToBounds="True" Background="SlateBlue" VerticalAlignment="Stretch"> <WindowsFormsHost HorizontalAlignment="Stretch" VerticalAlignment="Stretch"> <forms:MaskedTextBox Text="TOTO" /> </WindowsFormsHost> </panAndZoom:ZoomBorder>
Is there any way to make it work?
https://docs.microsoft.com/en-us/dotnet/desktop/wpf/advanced/layout-considerations-for-the-windowsformshost-element?view=netframeworkdesktop-4.8#layout-limitations
I tried to use PanAndZoom with WindowsFormsHost but it did not work:
Is there any way to make it work?