澄清和图表控件在WPF .NET 4.0 [英] Clarification about Chart control in WPF and .NET 4.0
问题描述
有谁知道,如果在.NET 4.0版本System.Windows.Forms.DataVisualization的类型可以在WPF中使用?我希望开发一个.NET 4.0 WPF应用程序,这将创建2D图形和无法从若WPF工具包现在有必要在.NET 4.0中说。
Does anyone know if the types in the .NET 4.0 release of System.Windows.Forms.DataVisualization can be used in WPF? I'm looking to develop a .NET 4.0 WPF application which will create 2D plots and cannot tell from if the WPF toolkit is now necessary in .NET 4.0.
推荐答案
在System.Windows.Forms.DataVisualization的图表是的WinForms图表,但他们仍然可以在WPF中使用,如果您使用的是的WindowsFormsHost
。请参阅<一href="http://msdn.microsoft.com/en-us/library/system.windows.forms.integration.windowsformshost.aspx"相对=nofollow> MSDN 。
The charts in System.Windows.Forms.DataVisualization are Winforms charts, but they can still be used in WPF if you use a WindowsFormsHost
. See MSDN.
这篇关于澄清和图表控件在WPF .NET 4.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!