Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
2.33/5 (3 votes)
See more:
Hi, I want to put zoomer functionality to my windows app. When I came to know that its not possible with windows app i brought out the functionality in wpf. Then i imported that control in windows app. Fair enough. But the issue is what the controls kept on wpf form are only getting zoom in/out but not controls on windows form. So can u help me how to do this?
Posted

1 solution

As you have already said: this only works in WPF.
So why would you expect it suddenly to start working in WinForms because you have brought a WPF control in? That's like saying: I put diesel in my car, so it is now a diesel engine. Last week it ran on unleaded, but now the engine has magically changed...
 
Share this answer
 
Comments
krishna kishore58 19-Feb-11 2:49am    
Not like that, zoom property in only working for the wpf controls and not for the windows controls. My app is on windows form. So how to do it
OriginalGriff 19-Feb-11 2:52am    
So if I write a WPF control where all the controls have a lime green background and import it into my WinForms app, would you expect all the WinForms controls to suddenly become lime green?
Sergey Alexandrovich Kryukov 19-Feb-11 20:42pm    
Great :-)
--SA
fjdiewornncalwe 19-Feb-11 10:29am    
Krishna, the windows form controls are still going to use windows forms when the application runs, and the WPF controls will use WPF. Having WPF on a form with Windows Forms controls will not cause the Windows Forms controls to magically use WPF. It just doesn't work that way.
fjdiewornncalwe 19-Feb-11 10:29am    
+5 for the patience, Griff.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900