N
N
Nastya06962016-06-08 20:19:40
WPF
Nastya0696, 2016-06-08 20:19:40

Need some help with wpf:?

the program is not mine, I found it on the Internet, I wanted to look at it better, but the mainwindow window is not shown, it
gives an error: color picker doesn't exist in the namespace schemas.xceed.com/wpf/xaml/toolkit

<Grid Grid.Row="0"  >
<xctk:ColorPicker x:Name="colorBorderPicker" HorizontalAlignment="Center" Width="40" Margin="33,0,33.4,10" Height="22" VerticalAlignment="Bottom" SelectedColorChanged="colorBorderPicker_SelectedColorChanged"  />
</Grid>

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Ilya Ijyan, 2016-06-09
@Kloder

xmlns:toolkit = " schemas.xceed.com/wpf/xaml/toolkit " - seems to be spelled out. check the libraries themselves in references
The easiest way to install is through the Package Manager Console with the command - Install-Package WPFToolkit
https://www.nuget.org/packages/WPFToolkit/

R
Rou1997, 2016-06-08
@Rou1997

There are not enough libraries, or they are not included in the project links, fix it, or if this Xceed is rarely used there, then you can simply "throw it out" from everywhere and it will start.

M
Michael, 2016-06-08
@Madfisht3

The xctk namespace declaration is missing.
There should be something like this line:

<Window... xmlns:xctk="http://schemas.microsoft.com/expression/blend/2008" ../>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question