views:

326

answers:

1

I am doing a small application and i need a DatePicker control, So i use the WPF toolkit datepicker. After completing my application I notice that my application exe has of size 250k and the WPFToolkit dll has a size 442k. So i am extracting the datepicker control from the toolkit by deleting the other controls from it. But it is not working for me. The application is failed when running. How can I extract the datepicker control only from the toolkit?

+1  A: 

You can download the source code for the WPF Toolkit from Codeplex. Copy the files you need into your project and eliminate the dependency. When adding the file(s) you will find out what else you need to get your project compiling. They probably use some base classes that you eliminated.

Philipp Schmid