<Window x:Class="chatSimplified.MainWindow"
        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:chatSimplified"
        mc:Ignorable="d"
        xmlns:chat="clr-namespace:Telerik.Windows.Controls.ConversationalUI;assembly=Telerik.Windows.Controls.ConversationalUI"
		xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" 
        Title="MainWindow"  Height="600" Width="900"  WindowState="Maximized">
    <Window.DataContext>
        <local:MainViewModel/>
    </Window.DataContext>
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <telerik:RadChat x:Name="chat1" 
						 Width="400"
						 Height="550"
                         Grid.Column="0"
                         CurrentAuthor="{Binding FirstAuthor}"
                         DataSource="{Binding Chat1Messages}"
						 AutoIncludeTimeBreaks="False"
						 CanUserSelectMessage="False"
                         >
            <telerik:RadChat.MessageConverter>
                <local:MessageConverter />
            </telerik:RadChat.MessageConverter>
        </telerik:RadChat>
        <telerik:RadChat x:Name="chat2" 
						 Width="400"
						 Height="550"
                         Grid.Column="1"
                         CurrentAuthor="{Binding SecondAuthor}"
                         DataSource="{Binding Chat2Messages}"
						 AutoIncludeTimeBreaks="False"
						 CanUserSelectMessage="False"
                         >
            <telerik:RadChat.MessageConverter>
                <local:MessageConverter />
            </telerik:RadChat.MessageConverter>
        </telerik:RadChat>

    </Grid>
</Window>
