Xaml:
<fluent:SplitButton Icon="24.png" ItemsSource="{Binding TestSource}">
ViewModel:
public ObservableCollection<List<TestModel>> TestSource { get; set; }
Update Method:
public void UpdateSource(ObservableCollection<List<TestModel>> newSource)
{
TestSource = newSource;
OnPropertyChanged("TestSource");
}
It works fine the first time, but when assigning the TestSource
property to a new object, the list displays the old list, and don't get updated.