|
<Window x:Class="WpfTestObservableCollectionMt.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:wpfTestObservableCollectionMt="clr-namespace:WpfTestObservableCollectionMt"
Title="MainWindow" Height="350" Width="525">
<Window.DataContext>
<wpfTestObservableCollectionMt:MainWindowModel></wpfTestObservableCollectionMt:MainWindowModel>
</Window.DataContext>
<Grid>
<Grid.RowDefinitions>
<RowDefinition></RowDefinition>
<RowDefinition Height="Auto"></RowDefinition>
</Grid.RowDefinitions>
<ListBox ItemsSource="{Binding ObsCollMt.ObsColl}" />
<Button Grid.Row="1" Name="ButtonStart" Click="ButtonStart_Click">Start test</Button>
</Grid>
</Window>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.