This commit is contained in:
Jeffrey Ye 2019-04-17 22:08:48 -07:00
Родитель 31b6ead956
Коммит fb50ad16e6
2 изменённых файлов: 16 добавлений и 27 удалений

Просмотреть файл

@ -1,28 +1,17 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<UserControl xmlns="https://github.com/avaloniaui" <UserControl xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Class="ICSharpCode.ILSpy.Controls.ResourceObjectTable">
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" <Grid Margin="5,0,0,0">
x:Class="ICSharpCode.ILSpy.Controls.ResourceObjectTable"> <Grid.RowDefinitions>
<Grid Margin="5,0,0,0"> <RowDefinition Height="30" />
<Grid.RowDefinitions> <RowDefinition />
<RowDefinition Height="30"/> </Grid.RowDefinitions>
<RowDefinition /> <TextBlock Margin="5" Text="Other Resources (Name/ Value/ Type)" FontFamily="Segoe UI" FontWeight="Bold" FontSize="12" />
</Grid.RowDefinitions> <DataGrid Name="resourceListView" FontFamily="Segoe UI" FontSize="9" Grid.Row="1" RowBackground="{DynamicResource ThemeBackgroundBrush}" AlternatingRowBackground="{DynamicResource ThemeAccentBrush4}" CanUserResizeColumns="True">
<TextBlock Margin="5" Text="Other Resources (Name/ Value/ Type)" <DataGrid.Columns>
FontFamily="Segoe UI" <DataGridTextColumn Header="Key" Binding="{Binding Key}" Width="*" />
FontWeight="Bold" <DataGridTextColumn Header="Value" Binding="{Binding Value}" Width="*" />
FontSize="12" /> <DataGridTextColumn Header="Type" Binding="{Binding Type}" Width="*" />
<DataGrid Name="resourceListView" </DataGrid.Columns>
FontFamily="Segoe UI"
FontSize="9"
Grid.Row="1"
RowBackground="White"
AlternatingRowBackground="Beige"
CanUserResizeColumns="True">
<DataGrid.Columns>
<DataGridTextColumn Header="Key" Binding="{Binding Key}" Width="*" />
<DataGridTextColumn Header="Value" Binding="{Binding Value}" Width="*" />
<DataGridTextColumn Header="Type" Binding="{Binding Type}" Width="*" />
</DataGrid.Columns>
</DataGrid> </DataGrid>
</Grid> </Grid>
</UserControl> </UserControl>

Просмотреть файл

@ -15,8 +15,8 @@
FontFamily="Segoe UI" FontFamily="Segoe UI"
FontSize="9" FontSize="9"
Grid.Row="1" Grid.Row="1"
RowBackground="White" RowBackground="{DynamicResource ThemeBackgroundBrush}"
AlternatingRowBackground="Beige" AlternatingRowBackground="{DynamicResource ThemeAccentBrush4}"
CanUserResizeColumns="True"> CanUserResizeColumns="True">
<DataGrid.Columns> <DataGrid.Columns>
<DataGridTextColumn Header="Key" Binding="{Binding Key}" Width="*" /> <DataGridTextColumn Header="Key" Binding="{Binding Key}" Width="*" />