c# - WPF Toolkit Controls not appearing in Visual Studio 2022 - Stack Overflow

admin2025-04-29  1

I've installed the packages here provided It includes 4 different nugets: Input,Layout,Themes and DataVisualization. However, when writing using WPF. only the using WPF.Themes appear. I tried to write xmlns:toolkit="; in the XAML but that doesn't work either.

I need to use the DateTimePicker. Here you can see how packages.config looks. It detects all the packages installed. What should I do to be able to use the Controls?

I've installed the packages here provided https://github.com/dotnetprojects/WpfToolkit?tab=readme-ov-file It includes 4 different nugets: Input,Layout,Themes and DataVisualization. However, when writing using WPF. only the using WPF.Themes appear. I tried to write xmlns:toolkit="http://schemas.xceed.com/wpf/xaml/toolkit" in the XAML but that doesn't work either.

I need to use the DateTimePicker. Here you can see how packages.config looks. It detects all the packages installed. What should I do to be able to use the Controls?

Share Improve this question asked Jan 7 at 0:43 ObscureeObscuree 11 bronze badge 1
  • The Tool Kits include "working" samples / galleries. You can even get the source for the kits. See how they do it. – Gerry Schmitz Commented Jan 7 at 1:15
Add a comment  | 

1 Answer 1

Reset to default 0

If you need to use DateTimePicker, you actually need to install the Extended.Wpf.Toolkit package through NuGet:

Then add the following namespace reference to your XAML file: xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit" Finally, use the DateTimePicker control in GridL, for example: <xctk:DateTimePicker Name="dateTimePicker" Format="FullDateTime" />

转载请注明原文地址:http://anycun.com/QandA/1745937034a91364.html