comparison SilverlightGlimpse/SilverlightGlimpse.Test/MainPage.xaml @ 62:810116cd6b8e

ErrorWindow working
author Steven Hollidge <stevenhollidge@hotmail.com>
date Sun, 22 Apr 2012 09:01:20 +0100
parents
children 536498832a79
comparison
equal deleted inserted replaced
61:9de81c9ad319 62:810116cd6b8e
1 <UserControl x:Class="SilverlightGlimpse.Test.MainPage"
2 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4 xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
5 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
6 d:DesignHeight="300"
7 d:DesignWidth="400"
8 mc:Ignorable="d">
9
10 <Grid x:Name="LayoutRoot" Background="White">
11 <Grid.RowDefinitions>
12 <RowDefinition Height="100" />
13 </Grid.RowDefinitions>
14
15 <Button Width="150"
16 Height="60"
17 Click="Button_Click"
18 Content="Open form" />
19 <ListBox x:Name="Listbox1" Grid.Row="1">
20 <ListBox.ItemTemplate>
21 <DataTemplate>
22 <StackPanel>
23 <TextBlock Text="{Binding Id }" />
24 <TextBlock Text="{Binding FAIL}" />
25 </StackPanel>
26 </DataTemplate>
27 </ListBox.ItemTemplate>
28 </ListBox>
29 </Grid>
30 </UserControl>