This question is locked. New answers and comments are not allowed.
I have a RadGridView in my Silverlight application. I am using MVVM with this application.
I would like to show or hide a GridViewDataColumn column based on a bool property in my Model/ViewModel called ShowAuditColumn.
This works:
<
controls:GridViewDataColumn
IsVisible
=
"False"
/>
But I'd like to use the following. But nothing happens. Should the following work?
<
controls:GridViewDataColumn
IsVisible
=
"{Binding Model.ShowAuditColumn}"
/>
How can I hide of show a column and bind it to a bool property?