Unable to enable advanced WPF-Toolkit

I would like to use the advanced wpf toolkit ( https://wpftoolkit.codeplex.com/ ), but I'm too dumb to include it.

I followed these steps:

  1. Link to binary files in your project:
    Link WPFToolkit.Extended.dll in your project (Xceed.Wpf.DataGrid.dll for data control)
  2. Add the using statement ("using Xceed.Wpf.Toolkit;" for most controls using Xceed.Wpf.DataGrid; "for the data grid control) to the top of the .cs files
  3. Add a new xmlns (xmlns: xctk = "http://schemas.xceed.com/wpf/xaml/toolkit" for most controls, xmlns: xcdg = "http://schemas.xceed.com/wpf/xaml/datagrid "for the data grid control) to the top of the XAML files

The instruction for use in the cs file works! But in my xaml file I can not find the toolkit!

I added this: xmlns:toolkit="http://schemas.xceed.com/wpf/xaml/toolkit"
but this namespace does not exist.

so what am i doing wrong?

+6
source share
1 answer

As @rshepp notes in the comments, it is much easier to install the WPF Toolkit with the Nuget package.

Go to Tools -> Nuget Package Manager -> Package Manager Console.

Type Install-Package Extended.Wpf.Toolkit in the console window.

+3
source

Source: https://habr.com/ru/post/979216/


All Articles