Base class BaseComponent is ambiguous C++
Posted: 19 Apr 2021, 16:02
Help, I have a class like this:
Where paNoesisBaseViewModel is simply NoesisApp::NotifyPropertyChangedBase
And when I try loadComponent
on keyword this throws an error Base class BaseComponent is ambiguous. I know why but I dont know how to workaround it.
And another question: How to declare and implement refleciton that class? To get acces to controls in xaml I use FindName<T> So if my xaml's class is Menu3D.MainMenu so how it will be look?
Code: Select all
class testScreen : public NoesisBaseViewModel, public Noesis::UserControlAnd when I try loadComponent
Code: Select all
GUI::LoadComponent(this, "testScreen.xaml");And another question: How to declare and implement refleciton that class? To get acces to controls in xaml I use FindName<T> So if my xaml's class is Menu3D.MainMenu so how it will be look?