How do I bind the datagrid visibility using MVVM so that if there is no data, set the visibility of the DataGrid to Collapsed, in such a way that the code could be reusable.
Thanks.
How do I bind the datagrid visibility using MVVM so that if there is
Share
In ViewModel expose property like
In XAML:
Some useful links: