Datatemplate's datatype c++ SDK
Hi there !
It appears to have an inconsistent behavior between the cpp SDK and the c# one.
When we use the c# SDK we have to specify the namespace for accessing a type
This is a bit annoying to work with because I want to maintain a blend version along the cpp version to have the designer working.
Is there a workaround ?
It appears to have an inconsistent behavior between the cpp SDK and the c# one.
When we use the c# SDK we have to specify the namespace for accessing a type
But in the c++ SDK, adding it causes noesis to not find the type. We have to remove it to make it work.xmlns:namespace="clr-namespace:Buttons"
...
<DataTemplate DataType="{x:Type namespace:ProjectsPageViewModel}">
This is a bit annoying to work with because I want to maintain a blend version along the cpp version to have the designer working.
Is there a workaround ?
Re: Datatemplate's datatype c++ SDK
You can manually add the namespace when applying the corresponding C++ reflection macro. Our examples are already doing that:
Code: Select all
NS_IMPLEMENT_REFLECTION_(Scoreboard::App, "Scoreboard.App")
Re: Datatemplate's datatype c++ SDK
I missed it, thank you !
Re: Datatemplate's datatype c++ SDK
You welcome! Please, keep us posted about your webpage using Noesis 😀
Who is online
Users browsing this forum: Bing [Bot], Semrush [Bot] and 2 guests