WPF Prefix 'attach' does not map to a namespace.
这个是用附加属性时,一定要在属性前面加Path=
Visibility="{Binding Path=PlacementTarget.(attach:CommonAttachedProperties.IsEditable),RelativeSource={RelativeSource Mode=Self}}"
这个是用附加属性时,一定要在属性前面加Path=
Visibility="{Binding Path=PlacementTarget.(attach:CommonAttachedProperties.IsEditable),RelativeSource={RelativeSource Mode=Self}}"