Can't set x:Name=“Root” on UserControl

前端 未结 1 415
清歌不尽
清歌不尽 2021-01-27 16:27

I am trying to set the x:Name attribute to the definition of a UserControl to use it for internal bindings later on:



        
相关标签:
1条回答
  • 2021-01-27 17:09

    The XAML-MSBuild task is confusing your type ElementManager with the namespace of the same name. Give your type ElementManager another name than its surrounding namespace.

    0 讨论(0)
提交回复
热议问题