Good evening to all.XDataGrid that I have a load XAML like this:XamDataGrid DataSource = "{Binding}"and load windows like this:this.DataContext = mEsenzioni;this way if I change the XDataGrid so nothing happens:private void xdtgBase_Loaded (object sender, RoutedEventArgs e) { XamDataGrid xdg = sender as XamDataGrid; try { xdg. FieldLayouts [0]. Fields ["Name"]. System.Windows.Visibility.Collapsed = Visibility;If you do not put the Binding in XAML and load the window I put this, it works: this.xdtgBase.DataSource = mEsenzioni;How do I run the xdgBase_Loaded with Binding in XAML?thanks
Hello Pranzo,
I am just checking if you got this worked out or you still require any assistance or clarification on the matter.
If this is what you were looking for please verify the answer so it helps other users as well.
Thank you for your post. I have been looking through it and I tried to reproduce you behavior, but it seems like I am missing something. It would be very helpful for me if you could provide me with some sample, so I could reproduce the behavior you had described and try to find a solution for you.
I am looking forward to see hearing from you.