<navigation:Page x:Class="VideoDistanc.Views.SettingList" 
           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"
           mc:Ignorable="d"
           xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
           d:DesignWidth="640" d:DesignHeight="480" Title="EmployeeList Page" 
           xmlns:riaControls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.DomainServices"
           xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" xmlns:my="clr-namespace:VideoDistanc.Web">
    <Grid x:Name="LayoutRoot">
        <ScrollViewer x:Name="PageScrollViewer" Style="{StaticResource   PageScrollViewerStyle}" >
            
                <Grid>
                <TextBlock Text="{Binding Path=ApplicationStrings.SettingPageTitle, Source={StaticResource ResourceWrapper}}" Style="{StaticResource HeaderTextStyle}"/>
                <sdk:Label Name="label1" Width="188" Content="Psaná komunikace mezi uživateli" Margin="0,42,444,404" />
                <ListBox Height="186" Name="listBox1" Width="120" Margin="-2,267,514,17" SelectionChanged="listBox1_SelectionChanged">
                    <ListBoxItem Content="1.jpg" IsSelected="True" />
                    <ListBoxItem Content="2.jpg" />
                    <ListBoxItem Content="3.jpg" />
                    <ListBoxItem Content="4.jpg" />
                    <ListBoxItem Content="5.jpg" />
                    <ListBoxItem Content="6.jpg" />
                    <ListBoxItem Content="7.jpg" />
                    <ListBoxItem Content="8.jpg" />
                    <ListBoxItem Content="9.jgp" />
                    <ListBoxItem Content="10.jgp" />
                    <ListBoxItem Content="11.jgp" />
                    <ListBoxItem Content="12.gjp" />
                    <ListBoxItem Content="13.jgp" />
                    <ListBoxItem Content="14.jpg" />
                    <ListBoxItem Content="15.jgp" />
                    <ListBoxItem Content="16.jgp" />
                    <ListBoxItem Content="17.jgp" />
                    <ListBoxItem Content="18.jgp" />
                    <ListBoxItem Content="19.jgp" />
                    <ListBoxItem Content="20.jpg" />
                    <ListBoxItem Content="21.jpg" />
                </ListBox>
                <Button Content="Uložit změny do databáze" Height="34" HorizontalAlignment="Left" Margin="124,270,0,0" Name="btnActual" VerticalAlignment="Top" Width="153" MaxWidth="200" Click="btnActual_Click" />
                <riaControls:DomainDataSource AutoLoad="True" d:DesignData="{d:DesignInstance my:ChatList, CreateList=true}" Height="0" LoadedData="chatListDomainDataSource_LoadedData_1" Name="chatListDomainDataSource" QueryName="GetChatListsQuery" Width="0">
                    <riaControls:DomainDataSource.DomainContext>
                        <my:ChatContext />
                    </riaControls:DomainDataSource.DomainContext>
                </riaControls:DomainDataSource>
                <sdk:DataGrid AutoGenerateColumns="False" Height="200" HorizontalAlignment="Left" ItemsSource="{Binding ElementName=chatListDomainDataSource, Path=Data}" Margin="0,62,0,0" Name="chatListDataGrid" RowDetailsVisibilityMode="VisibleWhenSelected" VerticalAlignment="Top" Width="632">
                    <sdk:DataGrid.Columns>
                        <sdk:DataGridTextColumn x:Name="idColumn" Binding="{Binding Path=id, Mode=OneWay}" Header="Id" IsReadOnly="True" Width="SizeToHeader" />
                        <sdk:DataGridTextColumn x:Name="authorColumn" Binding="{Binding Path=Author}" Header="Author" Width="SizeToHeader" />
                        <sdk:DataGridTextColumn x:Name="timeColumn" Binding="{Binding Path=Time}" Header="Time" Width="SizeToHeader" />
                        <sdk:DataGridTextColumn x:Name="textColumn" Binding="{Binding Path=Text}" Header="Text" Width="SizeToHeader" />
                    </sdk:DataGrid.Columns>
                </sdk:DataGrid>
            </Grid>
    </ScrollViewer>
    </Grid>
</navigation:Page>
