Binding the Visibility property of a WPF Datagrid column? Where is my fault?

You format the VisabilityList to string. You need to leave it as Visibility.

But if I try: var bindingColumnVisibilty = new Binding(dataGridSource. VisibilityListi); then gives me error "The best overloaded method match for 'System.Windows.Data.Binding. Binding(string)' has some invalid arguments" and "Argument 1: cannot convert from 'System.Windows.

Visibility' to 'string'" – Caustix Oct 3 at 21:12.

Ok, it turns out that DataGridColumn does not inherit the DataContext from the DataGrid since it is not in the logical (or visual) tree, so that's why my binding doesn't work. One workaround is shown here.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions