I have the following class:
class Channel
{
public int Number { get; private set; }
public double HighestCoChannelSignal { get; private set; }
public double HighestOverlappingSignal { get; private set; }
public List<Network> NetsCoChannel { get; set; }
public List<Network> NetsOverlapping { get; set; }
}
I have a list of Channel objects. I want to bind it to a DataGridView and show: Number, HighestCoChannelSignal, HighestOverlappingSignal, NetsCoChannel.Count, NetsOverlapping.Count. And for example if the HighestCoChannelSignal is a special value set the cell value in DataGridView to something I want. How can I achieve this?