1
0
Fork 0
mirror of https://github.com/oMaN-Rod/nxDumpFuse.git synced 2024-11-08 11:51:49 +00:00

Add an Expander for Log

This commit is contained in:
Omar 2021-10-22 18:46:39 -04:00
parent e48947c499
commit f7dec5d29d

View file

@ -34,7 +34,10 @@
HorizontalContentAlignment="Center" Margin="2" />
</StackPanel>
<DataGrid Grid.Row="5" Grid.Column="0" Grid.ColumnSpan="2"
<Expander Grid.Row="5" Grid.Column="0" Grid.ColumnSpan="2"
Header="Log"
Margin="2">
<DataGrid
x:Name="FuseSimpleLog"
Items="{Binding LogItems}"
CanUserSortColumns="False"
@ -44,13 +47,14 @@
HorizontalScrollBarVisibility="Auto"
VerticalAlignment="Top"
Height="300">
<DataGrid.Columns>
<DataGridTextColumn Header="Type" Binding="{Binding Type}" Width="Auto"
Foreground="{Binding Color}" FontSize="12" />
<DataGridTextColumn Header="Time" Binding="{Binding Time}" Width="Auto" FontSize="12" />
<DataGridTextColumn Header="Message" Binding="{Binding Message}" Width="Auto" FontSize="12" />
</DataGrid.Columns>
</DataGrid>
<DataGrid.Columns>
<DataGridTextColumn Header="Type" Binding="{Binding Type}" Width="Auto"
Foreground="{Binding Color}" FontSize="12" />
<DataGridTextColumn Header="Time" Binding="{Binding Time}" Width="Auto" FontSize="12" />
<DataGridTextColumn Header="Message" Binding="{Binding Message}" Width="Auto" FontSize="12" />
</DataGrid.Columns>
</DataGrid>
</Expander>
</Grid>
</DockPanel>