How to hide column in XamDatagrid . We are using MVVM model. I tried with visibility property but was unable to get the value from my view model. Please help in binding the value for visibility property from my view model.
Thanks Pavan.
This is how you data bind to property of a Field using the FieldBinding markup extension https://es.infragistics.com/help/wpf/xamdatagrid-binding-field-fieldlayout-to-mvvm
The link is dead
Bindiing a XamDataGrid Field Property
Hi Pavan,
I hadn’t heard back from you and I was wondering if you had further questions.
Please let me know if I can help further.
This is the best explanation of how to use a viewmodel to bind a xamDataGrid Field property.
It includes an explanation of why you can’t bind directly to the property and a sample that demonstrates how to achieve hiding the field based on the viewmodel property.
The link to the sample is at the bottom of the site.
Please let me know if you have any questions.