Unable to update Collection bound to UI
This commit is contained in:
@@ -9,10 +9,11 @@
|
||||
mc:Ignorable="d"
|
||||
d:DataContext="{d:DesignInstance Type={x:Type local:MainWindowViewModel}}"
|
||||
Title="MainWindow" Height="450" Width="800">
|
||||
<Grid Background="DarkRed">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition/>
|
||||
<RowDefinition Height="auto"/>
|
||||
<RowDefinition Height="auto"/>
|
||||
</Grid.RowDefinitions>
|
||||
<ContentControl Grid.Row="0"
|
||||
Visibility="Visible"
|
||||
@@ -26,7 +27,9 @@
|
||||
</DataTemplate>
|
||||
</ContentControl.Resources>
|
||||
</ContentControl>
|
||||
<Button Grid.Row="1"
|
||||
<ListView Grid.Row="1"
|
||||
ItemsSource="{Binding Strings}"/>
|
||||
<Button Grid.Row="2"
|
||||
HorizontalAlignment="Center"
|
||||
Command="{Binding StartCommand}"
|
||||
Content="Start"/>
|
||||
|
||||
Reference in New Issue
Block a user