Bind DataGridTemplateColumn Visibility

前端 未结 1 993
执念已碎
执念已碎 2021-01-14 09:00

I am trying to bind the visibility of a column in a datagrid to a boolean DependencyProperty in the ViewModel (Set as data context of the View - UserControl in this case). F

相关标签:
1条回答
  • 2021-01-14 09:47

    Found the solution here:
    http://www.thomaslevesque.com/2011/03/21/wpf-how-to-bind-to-data-when-the-datacontext-is-not-inherited/
    For future quenstions...

    0 讨论(0)
提交回复
热议问题