59
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
1 <UserControl xmlns:local="clr-namespace:Glimpse" xmlns:swc="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls" x:Class="Glimpse.GlimpseViewer" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
2 <Grid x:Name="LayoutRoot" Background="Khaki">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
3 <Grid.Resources>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
4 <SolidColorBrush Color="LightGreen" x:Name="noExceptionsBrush" />
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
5 <SolidColorBrush Color="Red" x:Name="hasExceptionsBrush" />
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
6 </Grid.Resources>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
7 <Grid x:Name="layoutInstrumentPanel">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
8 <StackPanel Orientation="Horizontal">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
9 <Grid Margin="7">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
10 <Ellipse x:Name="elpValidationExceptions" StrokeThickness="2" Stroke="Brown" Fill="LightGreen" Height="40" Width="40"/>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
11 <TextBlock x:Name="tbValidationExceptions" Text="0" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="12" FontWeight="Bold" ToolTipService.ToolTip="Binding Exception Count" />
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
12 </Grid>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
13 <Grid Margin="7">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
14 <Ellipse x:Name="elpUnhandledExceptions" StrokeThickness="2" Stroke="Brown" Fill="LightGreen" Height="40" Width="40" />
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
15 <TextBlock x:Name="tbUnhandledExceptions" Text="0" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="12" FontWeight="Bold" ToolTipService.ToolTip="Unhandled Exception Count" />
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
16 </Grid>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
17 <Button x:Name="btnExpand" Margin="7" Content="Expand" VerticalAlignment="Center" />
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
18 </StackPanel>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
19 </Grid>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
20 <Grid x:Name="layoutViewer" Visibility="Collapsed">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
21 <Grid.RowDefinitions>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
22 <RowDefinition Height="Auto" />
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
23 <RowDefinition Height="*" />
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
24 </Grid.RowDefinitions>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
25 <TextBlock Margin="3.5" FontSize="18" Foreground="DarkGreen" Text="Glimpse Viewer" VerticalAlignment="Center" />
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
26 <Button x:Name="btnContract" Margin="7" Content="Contract" VerticalAlignment="Center" HorizontalAlignment="Right" />
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
27 <swc:TabControl Background="Khaki" Grid.Row="1" Height="390" Width="690" SelectedIndex="2">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
28 <swc:TabItem Header="Exceptions">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
29 <local:ExceptionsViewer />
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
30 </swc:TabItem>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
31 <swc:TabItem Header="Bindings with no Source">
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
32 <local:BrokenBindingsViewer />
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
33 </swc:TabItem>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
34 </swc:TabControl>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
35 </Grid>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
36 </Grid>
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
37
|
Steven Hollidge <stevenhollidge@hotmail.com>
parents:
diff
changeset
|
38 </UserControl>
|