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

前端 未结 1 416
清歌不尽
清歌不尽 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)
提交回复
热议问题