Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting XMLNS name not found error though class exist in namespace

Tags:

c#

wpf

xaml

enter image description here

I am trying to refer IntegerUpdown from xceed.wpf.Toolkit namespace . When I use object browser I could see IntegerUpdown but while building I am getting the error:

Error 15 The name "IntegerUpDown" does not exist in the namespace "clr-namespace:Xceed.Wpf.Toolkit;assembly=WPFToolkit.Extended".

like image 489
Simsons Avatar asked Jan 21 '15 08:01

Simsons


1 Answers

WPFToolKit defined a alias or custom namespace http://schemas.xceed.com/wpf/xaml/toolkit. Refer below.

<Window x:Class="WPFComm_Learning.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:tool="http://schemas.xceed.com/wpf/xaml/toolkit"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <StackPanel>
            <tool:IntegerUpDown/>            
        </StackPanel>
    </Grid>
</Window>
like image 123
Ayyappan Subramanian Avatar answered Oct 18 '22 20:10

Ayyappan Subramanian