|
|
@ -2,6 +2,7 @@ |
|
|
|
<UserControl x:Class="ICSharpCode.ILSpy.Controls.ResourceObjectTable" |
|
|
|
<UserControl x:Class="ICSharpCode.ILSpy.Controls.ResourceObjectTable" |
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
|
|
|
|
|
|
xmlns:local="clr-namespace:ICSharpCode.ILSpy.Controls" |
|
|
|
Cursor="Arrow"> |
|
|
|
Cursor="Arrow"> |
|
|
|
<UserControl.CommandBindings> |
|
|
|
<UserControl.CommandBindings> |
|
|
|
<CommandBinding Command="ApplicationCommands.Copy" |
|
|
|
<CommandBinding Command="ApplicationCommands.Copy" |
|
|
@ -36,25 +37,26 @@ |
|
|
|
Foreground="Black" |
|
|
|
Foreground="Black" |
|
|
|
Grid.Row="1" |
|
|
|
Grid.Row="1" |
|
|
|
AlternationCount="2" |
|
|
|
AlternationCount="2" |
|
|
|
ItemContainerStyle="{StaticResource alternatingWithBinding}"> |
|
|
|
ItemContainerStyle="{StaticResource alternatingWithBinding}" |
|
|
|
|
|
|
|
local:SortableGridViewColumn.SortMode="Automatic"> |
|
|
|
<ListView.View> |
|
|
|
<ListView.View> |
|
|
|
<GridView AllowsColumnReorder="False"> |
|
|
|
<GridView AllowsColumnReorder="False"> |
|
|
|
<GridView.Columns> |
|
|
|
<GridView.Columns> |
|
|
|
<GridViewColumn DisplayMemberBinding="{Binding Key}"> |
|
|
|
<local:SortableGridViewColumn DisplayMemberBinding="{Binding Key}" SortBy="Key"> |
|
|
|
<GridViewColumnHeader Content="Name" |
|
|
|
<GridViewColumnHeader Content="Name" |
|
|
|
HorizontalContentAlignment="Left" |
|
|
|
HorizontalContentAlignment="Left" |
|
|
|
FontWeight="Bold" /> |
|
|
|
FontWeight="Bold" /> |
|
|
|
</GridViewColumn> |
|
|
|
</local:SortableGridViewColumn> |
|
|
|
<GridViewColumn DisplayMemberBinding="{Binding Value}"> |
|
|
|
<local:SortableGridViewColumn DisplayMemberBinding="{Binding Value}" SortBy="Value"> |
|
|
|
<GridViewColumnHeader Content="Value (as string)" |
|
|
|
<GridViewColumnHeader Content="Value (as string)" |
|
|
|
HorizontalContentAlignment="Left" |
|
|
|
HorizontalContentAlignment="Left" |
|
|
|
FontWeight="Bold" /> |
|
|
|
FontWeight="Bold" /> |
|
|
|
</GridViewColumn> |
|
|
|
</local:SortableGridViewColumn> |
|
|
|
<GridViewColumn DisplayMemberBinding="{Binding Type}"> |
|
|
|
<local:SortableGridViewColumn DisplayMemberBinding="{Binding Type}" SortBy="Type"> |
|
|
|
<GridViewColumnHeader Content="Type" |
|
|
|
<GridViewColumnHeader Content="Type" |
|
|
|
HorizontalContentAlignment="Left" |
|
|
|
HorizontalContentAlignment="Left" |
|
|
|
FontWeight="Bold" /> |
|
|
|
FontWeight="Bold" /> |
|
|
|
</GridViewColumn> |
|
|
|
</local:SortableGridViewColumn> |
|
|
|
</GridView.Columns> |
|
|
|
</GridView.Columns> |
|
|
|
</GridView> |
|
|
|
</GridView> |
|
|
|
</ListView.View> |
|
|
|
</ListView.View> |
|
|
|