ElementName Binding is failing

后端 未结 3 1913
别跟我提以往
别跟我提以往 2020-11-29 23:50

I have the following XAML:


    
        ...
    
    
         


        
3条回答
  •  孤街浪徒
    2020-11-30 00:20

    You might not have a namescope where you try to bind, you could try to replace the ElementName construct with Source={x:Reference DisplayMarkers}.

    For a workaround for potential cyclical dependency errors see: https://stackoverflow.com/a/6858917/546730

提交回复
热议问题