Binding the visibility of DataGridColumn in WPF / MVVM
See this StackOverflow answer for the original inspiration. Notable quote: “First of all DataGridTextColumn or any other supported dataGrid columns doesn’t lie in Visual tree of DataGrid. Hence, by default it doesn’t inherit DataContext of DataGrid. But, it works for Binding DP only and for not other DP’s on DataGridColumn.” Here is an example of …
Continue reading ‘Binding the visibility of DataGridColumn in WPF / MVVM’ »