<Window x:Class="COMTRADEConverter.ErrorMessagesWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:COMTRADEConverter" mc:Ignorable="d" Title="ErrorMessagesWindow" Height="300" Width="1280"> <DockPanel Margin="5,0,5,5"> <DockPanel DockPanel.Dock="Top" LastChildFill="False"> <Button DockPanel.Dock="Left" Content="Clear List" Click="ClearButtonClicked"/> </DockPanel> <ListView DockPanel.Dock="Top" ItemsSource="{Binding ExceptionList, Mode=OneWay}"> <ListView.View> <GridView> <GridViewColumn Header="Offender" DisplayMemberBinding="{Binding Source}" /> <GridViewColumn Header="Message" DisplayMemberBinding="{Binding Message}" /> </GridView> </ListView.View> </ListView> </DockPanel></Window>
<Window x:Class="COMTRADEConverter.ErrorMessagesWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:COMTRADEConverter"
mc:Ignorable="d"
Title="ErrorMessagesWindow" Height="300" Width="1280">
<DockPanel Margin="5,0,5,5">
<DockPanel DockPanel.Dock="Top" LastChildFill="False">
<Button DockPanel.Dock="Left" Content="Clear List" Click="ClearButtonClicked"/>
</DockPanel>
<ListView DockPanel.Dock="Top"
ItemsSource="{Binding ExceptionList, Mode=OneWay}">
<ListView.View>
<GridView>
<GridViewColumn Header="Offender" DisplayMemberBinding="{Binding Source}" />
<GridViewColumn Header="Message" DisplayMemberBinding="{Binding Message}" />
</GridView>
</ListView.View>
</ListView>
</DockPanel>
</Window>