PageRenderTime 25ms CodeModel.GetById 17ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 1ms

/Debugger/ILSpy.Debugger/UI/BreakpointPanel.xaml

http://github.com/icsharpcode/ILSpy
XAML | 73 lines | 73 code | 0 blank | 0 comment | 0 complexity | dc3d4d98b1e42b823cd46c84941d12bd MD5 | raw file
 1<?xml version="1.0" encoding="utf-8"?>
 2<UserControl
 3    x:Class="ICSharpCode.ILSpy.Debugger.UI.BreakpointPanel" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:bm="clr-namespace:ICSharpCode.ILSpy.Bookmarks">
 4    <Grid>
 5        <ListView
 6            Name="view"
 7            HorizontalContentAlignment="Stretch"
 8            SelectionMode="Single"
 9            MouseDoubleClick="view_MouseDoubleClick"
10            KeyUp="view_KeyUp">
11            <ListView.View>
12                <GridView
13                    AllowsColumnReorder="False">
14                    <GridViewColumn
15                        Header="">
16                        <GridViewColumn.CellTemplate>
17                            <DataTemplate>
18                                <StackPanel
19                                    Orientation="Horizontal">
20                                    <Image
21                                        Width="16"
22                                        Height="16"
23                                        Margin="1,1,1,1"
24                                        Source="{Binding Image}"
25                                        HorizontalAlignment="Left" />
26                                    <CheckBox
27                                        Width="16"
28                                        Height="16"
29                                        Margin="3,3,3,1"
30                                        HorizontalAlignment="Center"
31                                        VerticalAlignment="Center"
32                                        IsEnabled="{Binding CanToggle}"
33                                        IsChecked="{Binding IsEnabled}" />
34                                </StackPanel>
35                            </DataTemplate>
36                        </GridViewColumn.CellTemplate>
37                    </GridViewColumn>
38                    <GridViewColumn
39                        Header="Class">
40                        <GridViewColumn.CellTemplate>
41                            <DataTemplate>
42                                <TextBlock
43                                    Text="{Binding MemberReference.DeclaringType.FullName}"
44                                    Margin="1,1,1,1" />
45                            </DataTemplate>
46                        </GridViewColumn.CellTemplate>
47                    </GridViewColumn>
48                    <GridViewColumn
49                        Header="Method">
50                        <GridViewColumn.CellTemplate>
51                            <DataTemplate>
52                                <TextBlock
53                                    Text="{Binding MemberReference.Name}"
54                                    Margin="1,1,1,1" />
55                            </DataTemplate>
56                        </GridViewColumn.CellTemplate>
57                    </GridViewColumn>
58                    <GridViewColumn
59                        Header="Line">
60                        <GridViewColumn.CellTemplate>
61                            <DataTemplate>
62                                <TextBlock
63                                    Text="{Binding LineNumber}"
64                                    Margin="1,1,1,1"
65                                    HorizontalAlignment="Center" />
66                            </DataTemplate>
67                        </GridViewColumn.CellTemplate>
68                    </GridViewColumn>
69                </GridView>
70            </ListView.View>
71        </ListView>
72    </Grid>
73</UserControl>