Timeline: use ObservableCollection instead of DynamicData

This commit is contained in:
2023-08-14 17:15:03 +02:00
parent 8aa8d83598
commit 4381f1b47a
11 changed files with 49 additions and 191 deletions

View File

@@ -321,7 +321,7 @@
</ia:DataTriggerBehavior>
</i:Interaction.Behaviors>
<ItemsControl
ItemsSource="{Binding TimelineViewModel.ParallelCommandsGroups.Collection}"
ItemsSource="{Binding TimelineViewModel.ParallelCommandsGroups}"
VerticalAlignment="Stretch"
x:Name="CommandGroups">
<ItemsControl.ItemsPanel>
@@ -333,7 +333,7 @@
<DataTemplate>
<Grid ColumnDefinitions="300,10" VerticalAlignment="Stretch">
<ScrollViewer>
<ItemsControl ItemsSource="{Binding Commands.Collection}">
<ItemsControl ItemsSource="{Binding Commands}">
<ItemsControl.ItemTemplate>
<DataTemplate>
<Border