Hide silverlight datagrid using model-view-viewmodel
===

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.