Hızlı yanıt: kod örneği
stackoverflow.com does-wpf-work-with-c
You can use WPF with C++/CLI. It is a .NET API, however, so it requires the .NET Framework.That being said, the designer support is non-existent with C++. This means that, for practical purposes, WPF doesn't really work with C++.Typically, the user interface layer is written in C# (or VB.NET), then calls into C++ code, often exposed via P/Invoke or C++/CLI layers. By using C++/CLI, it's very easy to interoperate between C++ code and C#/VB.NET code.