Is it possible to bind a datagrid to only selective members of a class? The way I have made the binding presently, all the class variables have been binded(one to one mapped) to datagrid's columns.
private void OnPropertyChanged(string property)
{
if (PropertyChanged != null)
{
PropertyChanged(this, new PropertyChangedEventArgs(property));
}
}
Now i want only a few class properties(not all) to be binded to the datagrid.