mirror of https://github.com/icsharpcode/ILSpy.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.7 KiB
30 lines
1.7 KiB
<UserControl x:Class="ICSharpCode.ILSpy.DebugSteps" |
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
|
xmlns:local="clr-namespace:ICSharpCode.ILSpy" |
|
mc:Ignorable="d" |
|
d:DesignHeight="300" d:DesignWidth="300"> |
|
<DockPanel> |
|
<StackPanel DockPanel.Dock="Top" Orientation="Horizontal"> |
|
<CheckBox Margin="3" Content="UseFieldSugar" IsChecked="{Binding UseFieldSugar, Source={x:Static local:DebugSteps.Options}}" /> |
|
<CheckBox Margin="3" Content="UseLogicOperationSugar" IsChecked="{Binding UseLogicOperationSugar, Source={x:Static local:DebugSteps.Options}}" /> |
|
<CheckBox Margin="3" Content="ShowILRanges" IsChecked="{Binding ShowILRanges, Source={x:Static local:DebugSteps.Options}}" /> |
|
</StackPanel> |
|
<TreeView Name="tree" MouseDoubleClick="ShowStateAfter_Click" KeyDown="tree_KeyDown"> |
|
<TreeView.ItemTemplate> |
|
<HierarchicalDataTemplate ItemsSource="{Binding Children}"> |
|
<TextBlock Text="{Binding Description}" /> |
|
</HierarchicalDataTemplate> |
|
</TreeView.ItemTemplate> |
|
<TreeView.ContextMenu> |
|
<ContextMenu> |
|
<MenuItem Header="Show state before this step" Click="ShowStateBefore_Click" InputGestureText="Shift+Enter" /> |
|
<MenuItem Header="Show state after this step" Click="ShowStateAfter_Click" InputGestureText="Enter" /> |
|
<MenuItem Header="Debug this step" Click="DebugStep_Click" /> |
|
</ContextMenu> |
|
</TreeView.ContextMenu> |
|
</TreeView> |
|
</DockPanel> |
|
</UserControl>
|
|
|