on-internet
← Community

DataGridComboBoxColumn binding to ObservableCollection

Stack Overflow ·

I have the class Devices with Platform as one of the properties: public partial class DevicesCollection : ObservableCollection<Device> { public DevicesCollection() : base() { } } public partial class Device : INotifyPropertyChanged { private string hostIP; private string password; private int platform; private string status = ""; private int loop = 1; public Device() { } public Device(string ip, string pswd, int tp) { HostIP = ip; Password = pswd; Platform = tp; Status = "Disconnected"; Loop = 1; } As well as I have Platform class: public partial class PlatformsCollection : ObservableCollectio

Comments

Sign in or sign up to comment and upvote.

No comments yet.