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.
53 lines
2.5 KiB
53 lines
2.5 KiB
<?xml version="1.0" encoding="utf-8"?> |
|
<UserControl |
|
x:Class="ICSharpCode.ILSpy.Debugger.UI.CallStackPanel" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:debugger="clr-namespace:ICSharpCode.ILSpy.Debugger"> |
|
<Grid> |
|
<ListView |
|
Name="view" |
|
MouseDoubleClick="view_MouseDoubleClick"> |
|
<ListView.View> |
|
<GridView> |
|
<GridViewColumn |
|
Header="Module"> |
|
<GridViewColumn.CellTemplate> |
|
<DataTemplate> |
|
<TextBlock |
|
Text="{Binding ModuleName}" |
|
Foreground="{Binding FontColor}" /> |
|
</DataTemplate> |
|
</GridViewColumn.CellTemplate> |
|
</GridViewColumn> |
|
<GridViewColumn |
|
Header="Name"> |
|
<GridViewColumn.CellTemplate> |
|
<DataTemplate> |
|
<TextBlock |
|
Text="{Binding Name}" |
|
Foreground="{Binding FontColor}" /> |
|
</DataTemplate> |
|
</GridViewColumn.CellTemplate> |
|
</GridViewColumn> |
|
</GridView> |
|
</ListView.View> |
|
<ListView.ContextMenu> |
|
<ContextMenu> |
|
<MenuItem |
|
Header="Show _module names" |
|
IsChecked="{Binding Path=ShowModuleName, Source={x:Static debugger:DebuggerSettings.Instance}, Mode=TwoWay}" |
|
Click="SwitchIsChecked" |
|
/> |
|
<MenuItem |
|
Header="Show _argument names" |
|
IsChecked="{Binding Path=ShowArguments, Source={x:Static debugger:DebuggerSettings.Instance}, Mode=TwoWay}" |
|
Click="SwitchIsChecked" |
|
/> |
|
<MenuItem |
|
Header="Show argument _values" |
|
IsChecked="{Binding Path=ShowArgumentValues, Source={x:Static debugger:DebuggerSettings.Instance}, Mode=TwoWay}" |
|
Click="SwitchIsChecked" |
|
/> |
|
</ContextMenu> |
|
</ListView.ContextMenu> |
|
</ListView> |
|
</Grid> |
|
</UserControl> |