All Questions
3
questions
0
votes
1
answer
3k
views
Binding visibility to bool value in WPF dataGrid
I am aware that as DataGrid columns aren't part of the Visual Tree, you can't bind the visibility property of the columns directly to a boolean property in your VM. You have to do it another way. ...
99
votes
4
answers
66k
views
Binding Visibility for DataGridColumn in WPF
How can I hide a column in a WPF DataGrid through a Binding?
This is what I did:
<DataGridTextColumn Header="Column header"
Binding="{Binding ColumnValue}"
...
2
votes
1
answer
4k
views
bool to System.Windows.Visibility (binding issues when dynamically creating DataGridColumnHeaders)
I am caught up in a scenario where I have to dynamically create datagrid columns and must create the columns in C# code. I have a checkbox in a separate area of code for each generated column. The ...