ErrorInformationDetailsView.xaml 1.0 KB

1234567891011121314151617181920212223
  1. <Window x:Class="Aitex.UI.RecipeEditor.ErrorInformationDetailsView"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. Title="Error Information" Height="275" Width="479" WindowStyle="SingleBorderWindow"
  5. xmlns:app="clr-namespace:Aitex.UI.RecipeEditor"
  6. Topmost="True" Closing="Window_Closing"
  7. WindowStartupLocation="CenterOwner"
  8. Background="LightYellow" FontFamily="Arial,SimSun"
  9. ResizeMode="NoResize">
  10. <Grid Background="Transparent">
  11. <Grid.Resources>
  12. <app:ErrItemDisplayConverter x:Key="errItemDisplayConverter"/>
  13. </Grid.Resources>
  14. <DataGrid AutoGenerateColumns="False" Margin="0" Padding="0" ItemsSource="{Binding Errors,Converter={StaticResource errItemDisplayConverter}}" >
  15. <DataGrid.Columns>
  16. <DataGridTextColumn Header="Error Items" Width="450" IsReadOnly="True" Binding="{Binding}" />
  17. </DataGrid.Columns>
  18. </DataGrid>
  19. </Grid>
  20. </Window>