How can I hide a column in a WPF DataGrid through a Binding?
DataGrid
This is what I did:
Sample of bound property in view model:
private Visibility _isShowName; public Visibility IsShowName { get { return _isShowName; } set { _isShowName = value; OnPropertyChanged(); } }