Binding a ObservableCollection<int> to IEnumerable<object> of a custom control
问题 With some help, I recently made binding collections in my custom control work. However, to my surprise I was told that to make the custom control property more flexible (that is possible to be bound with other parametrized collections), I needed to make the custom control's property to be of type IEnumerable<object> because of covariance and contravariance. However, this seems not to work for me This is the control's view <UserControl x:Class="BadaniaOperacyjne.Controls.Matrix" mc:Ignorable=