c# - How can a WPF user control be made to scale automatically when the parent Winforms window resizes? -
I need to add a WPF user control on my existing legacy Winforms application, such that the contents of the user control are automatically main Size of application window
I think that embedding WPF user controls inside WinForms is possible by using System.Windows.Forms.Integration.ElementHost, but can this container change the size of the content of my user control?
ViewBox that will be used by your
UserControl Is around .. When the height or width of the parents increases, it will automatically scale on the height or width ...
the view box In, it will be proportional to height and width ...
Comments
Post a Comment