I'm currently facing a problem while trying to do some conditional binding in WPF. I've read up on the problem and it seems like "visibility" isn't really an option for DataGridColumns as it's not in the logicaltreeview.
I currently have an object…
I am searching a simple method through which i can bind my DataGridColumn with a Datatable columns on the fly. I should also be able to define the width of each column.
Example :-
If My program generates 5 columns in a datatable, so the DataGrid…