WPF Prefix 'attach' does not map to a namespace.

这个是用附加属性时,一定要在属性前面加Path=

Visibility="{Binding Path=PlacementTarget.(attach:CommonAttachedProperties.IsEditable),RelativeSource={RelativeSource Mode=Self}}"

 

posted @ 2018-03-19 16:09  akiing  阅读(99)  评论(0编辑  收藏  举报