1
0
Fork 0
mirror of https://github.com/oMaN-Rod/nxDumpFuse.git synced 2024-11-09 12:11:45 +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" /> HorizontalContentAlignment="Center" Margin="2" />
</StackPanel> </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" x:Name="FuseSimpleLog"
Items="{Binding LogItems}" Items="{Binding LogItems}"
CanUserSortColumns="False" CanUserSortColumns="False"
@ -44,13 +47,14 @@
HorizontalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto"
VerticalAlignment="Top" VerticalAlignment="Top"
Height="300"> Height="300">
<DataGrid.Columns> <DataGrid.Columns>
<DataGridTextColumn Header="Type" Binding="{Binding Type}" Width="Auto" <DataGridTextColumn Header="Type" Binding="{Binding Type}" Width="Auto"
Foreground="{Binding Color}" FontSize="12" /> Foreground="{Binding Color}" FontSize="12" />
<DataGridTextColumn Header="Time" Binding="{Binding Time}" Width="Auto" FontSize="12" /> <DataGridTextColumn Header="Time" Binding="{Binding Time}" Width="Auto" FontSize="12" />
<DataGridTextColumn Header="Message" Binding="{Binding Message}" Width="Auto" FontSize="12" /> <DataGridTextColumn Header="Message" Binding="{Binding Message}" Width="Auto" FontSize="12" />
</DataGrid.Columns> </DataGrid.Columns>
</DataGrid> </DataGrid>
</Expander>
</Grid> </Grid>
</DockPanel> </DockPanel>