Hello
I am building a wpf app, using MVVM (I already imported MVVM.Helpers)
I am trying to fill a list with 5000 numbers, and put in in a commbo box, and for some reason is not working
my app: https://github.com/eduardoagr/RsidentsManager
I have a BaseViewModel, and every ViewModel I have inherit from that base
<ComboBox
materialDesign:HintAssist.Hint="Rooms" materialDesign:HintAssist.IsFloating="True" ItemsSource="{Binding Rooms}"
IsReadOnly="True" />
VM
public class PrpertiesWindowViewModel : BaseViewModel {
public List<int> Rooms { get; set; }
public PrpertiesWindowViewModel() {
Rooms = new List<int>();
FillList();
}
private void FillList() {
for (int i = 1; i < 5000; i++) {
Rooms.Add(i);
}
}
}
if you run you do not see anything is like the list dosent get filled