A
A
Alikhan2021-11-25 12:21:05
WPF
Alikhan, 2021-11-25 12:21:05

Can't connect FontDialog to C# WPF project?

Hello! In my WPF program, I wanted to include the FontDialog class to call the font selection dialog.
Everyone connected this class through using System.Windows.Forms

But it says that there is no such namespace, and I cannot connect it. WPF version new, Visual Studio 2019

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2021-11-25
Mulaev @AlikhanPython

Did you add System.Windows.Forms to the project links?
In using it is possible to add that on what there is a link.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question