Link to home
Create AccountLog in
Avatar of cyimxtck
cyimxtckFlag for United States of America

asked on

type xxx is not defined for a control but is clearly there....

I have a project where the control is not being incorporated into the project without the debugger barking out "Error      1      Type "Imports.GUI.Imports.GUI.Controls.LookupControl.LookupControlHeader' is not defined.      C:\xxx\MainWindow.xaml      185      39      Imports.GUI
"
In the window I have:

    xmlns:UserControl="clr-namespace:Imports.GUI.Imports.GUI.Controls.LookupControl"

<UserControl:LookupControlHeader x:Name="LookupHeader" Width="auto" Height="auto"></UserControl:LookupControlHeader>

in the control I have:

<UserControl x:Class="Imports.GUI.Controls.LookupControl.LookupControlHeader"

Namespace Imports.GUI.Controls.LookupControl

    Public Class LookupControlHeader

The name of the project is Imports.GUI in the solution...

Please help me here because I think I am going to look for 6 feet of rope and a sturdy branch soon....

Many other folks are having this problem online and there isn't a solution from everything that I have tried.

Please help experts!!

Thanks,

B

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of it_saige
it_saige
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account