Alex141 / CalcBinding

Advanced WPF Binding which supports expressions in Path property and other features
Apache License 2.0
638 stars 79 forks source link

bool to Visibility failed in DataGridTextColumn #61

Closed CodingOctocat closed 4 years ago

CodingOctocat commented 4 years ago
<DataGridTextColumn Visibility="{c:Binding IsShow}"/>
System.Windows.Data Error: 2 : Cannot find governing FrameworkElement or FrameworkContentElement for target element. BindingExpression:Path=IsShow; DataItem=null; target element is 'DataGridTextColumn' (HashCode=34945211); target property is 'Visibility' (type 'Visibility')

Maybe DataGridTextColumn Visibility doesn't supported c:Binding?

CodingOctocat commented 4 years ago

well, answer here:c# - DataGridTextColumn Visibility Binding - Stack Overflow 😂