Cannot resolve type "c:ContextMenuItem". error when using library inside listview
Closed this issue · 4 comments
Shaboo commented
anpin commented
Shaboo commented
anpin commented
Hi @Shaboo thanks for your effort. The issue was due to the fact that some code should be called from C# in order for custom XAML namespace to work as found here.
I pushed the update for that and updated documentation, so in oreder to fix it you need to update the package and call APES.UI.XF.ContextMenuContainer.Init();
in your App.xaml.cs
.
I also noticed that the repro wasn't building after the fix cause of how you implemented commands, so I fixed your code too and you can find it below.
App1.zip