<base:BaseControl
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:base="clr-namespace:SDFO.Core.PL.Views"
             xmlns:mwt="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Classic"
             xmlns:system="clr-namespace:System;assembly=mscorlib"
             xmlns:u="clr-namespace:SDFO.Core.PL.Utils"
             xmlns:c="clr-namespace:SDFO.Core.PL.Utils.Converters"
             xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
             xmlns:cmd="clr-namespace:GalaSoft.MvvmLight.Command;assembly=GalaSoft.MvvmLight.Extras"
             xmlns:vm="clr-namespace:SDFO.Core.PL.ViewModels"
             mc:Ignorable="d"
             d:DesignWidth="800">
    <base:BaseControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary>
                    <system:String x:Key="Locale">Kazakh</system:String>
                    <system:String x:Key="Label.FM1">ФМ-1 ФОРМАСЫ</system:String>
                </ResourceDictionary>
                <ResourceDictionary>
                    <system:String x:Key="Locale">Russian</system:String>
                    <system:String x:Key="Label.Yes">Да</system:String>
                    <system:String x:Key="Label.FM1">ФОРМА ФМ-1</system:String>
                    <system:String x:Key="Label.Npp">№п/п</system:String>
                    <system:String x:Key="Label.Subject">Наименование</system:String>
                    <system:String x:Key="Label.Content">Содержание</system:String>
                    <system:String x:Key="Label.Version">Версия XML документа:</system:String>
                    <system:String x:Key="Label.DocumentId">Уникальный идентификатор документа:</system:String>
                    <system:String x:Key="Label.Print">Распечатать</system:String>
                    <system:String x:Key="Label.Reject">Отклонить</system:String>
                    <system:String x:Key="Label.RequestInfo">Запрос дополнительной информации</system:String>
                    <system:String x:Key="Label.Export">Экспортировать в ЕИАС</system:String>
                    <system:String x:Key="Label.Close">Закрыть</system:String>
                    <system:String x:Key="1">1. Сведения о форме ФМ-1</system:String>
                    <system:String x:Key="1.1">Номер Формы ФМ-1*</system:String>
                    <system:String x:Key="1.1.1">1. Номер:</system:String>
                    <system:String x:Key="1.1.2">2. Связь с иной формой ФМ-1:</system:String>
                    <system:String x:Key="1.1.2.1">2.1 Номер связанной формы ФМ-1:</system:String>
                    <system:String x:Key="1.1.2.2">2.2 Дата связанной формы ФМ-1:</system:String>
                    <system:String x:Key="1.1.2.3">2.3 Номер операции связанной формы ФМ-1:</system:String>
                    <system:String x:Key="1.2">Дата формы ФМ-1*</system:String>
                    <system:String x:Key="1.3">Вид документа*</system:String>
                    <system:String x:Key="1.4">Состояние операции*</system:String>
                    <system:String x:Key="1.4-1">Время завершения/начала/приостановки операции*</system:String>
                    <system:String x:Key="1.5">Основание для подачи сообщения*</system:String>
                    <system:String x:Key="1.5-1">Критерий подозрительности*</system:String>
                    <system:String x:Key="2">2. Сведения о субъекте финасового мониторинга, направившем форму ФМ-1</system:String>
                    <system:String x:Key="2.1">Код субъекта финансового мониторинга*</system:String>
                    <system:String x:Key="2.2">Наименование субъекта финансового мониторинга*</system:String>
                    <system:String x:Key="2.2.1">1. Организационно-правовая форма:</system:String>
                    <system:String x:Key="2.2.2">2. Название:</system:String>
                    <system:String x:Key="2.2.2.1">2.1. Фамилия:</system:String>
                    <system:String x:Key="2.2.2.2">2.2. Имя:</system:String>
                    <system:String x:Key="2.2.2.3">2.3. Отчество (при наличии):</system:String>
                    <system:String x:Key="2.3">РНН*</system:String>
                    <system:String x:Key="2.4">ИИН/БИН</system:String>
                    <system:String x:Key="2.5">Адрес места нахождения*</system:String>
                    <system:String x:Key="2.5.1">1. Область:</system:String>
                    <system:String x:Key="2.5.2">2. Район:</system:String>
                    <system:String x:Key="2.5.3">3. Населенный пункт (город/поселок/село):</system:String>
                    <system:String x:Key="2.5.4">4. Наименование улицы/проспекта/мр-на:</system:String>
                    <system:String x:Key="2.5.5">5. № дома:</system:String>
                    <system:String x:Key="2.5.6">6. № квартиры/офиса (при наличии):</system:String>
                    <system:String x:Key="2.5.7">7. Почтовый индекс:</system:String>
                    <system:String x:Key="2.6">Документ, удостоверяющий личность (для физических лиц)*</system:String>
                    <system:String x:Key="2.6.1">Номер и серия документа, удостоверяющего личность (для физических лиц)*</system:String>
                    <system:String x:Key="2.6.1.1">1. Номер:</system:String>
                    <system:String x:Key="2.6.1.2">2. Серия (при наличии):</system:String>
                    <system:String x:Key="2.6.2">Кем выдан документ, удостоверяющий личность (для физических лиц)*</system:String>
                    <system:String x:Key="2.6.3">Когда выдан документ, удостоверяющий личность (для физических лиц)*</system:String>
                    <system:String x:Key="2.7">Ф.И.О. ответственного должностного лица</system:String>
                    <system:String x:Key="2.7-1">1. Фамилия:</system:String>
                    <system:String x:Key="2.7-2">2. Имя:</system:String>
                    <system:String x:Key="2.7-3">3. Отчество (при наличии):</system:String>
                    <system:String x:Key="2.7.1">Должность ответственного должностного лица</system:String>
                    <system:String x:Key="2.8">Контактный телефон*</system:String>
                    <system:String x:Key="2.9">Электронная почта</system:String>
                    <system:String x:Key="3">3. Информация об операции, подлежащей финансовому мониторингу</system:String>
                    <system:String x:Key="3.1">Номер операции*</system:String>
                    <system:String x:Key="3.2">Код вида операции*</system:String>
                    <system:String x:Key="3.2.1">1. Код:</system:String>
                    <system:String x:Key="3.2.2">2. Информация об имуществе, подлежащего государственной регистрации:</system:String>
                    <system:String x:Key="3.2.2.1">2.1 Вид имущества:</system:String>
                    <system:String x:Key="3.2.2.2">2.2 Регистрационный номер имущества:</system:String>
                    <system:String x:Key="3.3">Код ЕКНП*</system:String>
                    <system:String x:Key="3.3.1">1. Код:</system:String>
                    <system:String x:Key="3.3.2">2. Невозможно установить:</system:String>
                    <system:String x:Key="3.4">Количество участников операции*</system:String>
                    <system:String x:Key="3.5">Код валюты операции*</system:String>
                    <system:String x:Key="3.6">Сумма операции в валюте ее проведения*</system:String>
                    <system:String x:Key="3.7">Сумма операции в тенге*</system:String>
                    <system:String x:Key="3.8">Основание совершения операции*</system:String>
                    <system:String x:Key="3.9">Дата и номер документа, на основании которого проведена операция</system:String>
                    <system:String x:Key="3.9.1">1. Дата:</system:String>
                    <system:String x:Key="3.9.2">2. Номер документа:</system:String>
                    <system:String x:Key="3.10">1-ый код признака подозрительности операции</system:String>
                    <system:String x:Key="3.11">2-ой код признака подозрительности операции</system:String>
                    <system:String x:Key="3.12">3-ий код признака подозрительности операции</system:String>
                    <system:String x:Key="3.13">Описание возникших затруднений квалификации операции как подозрительной</system:String>
                    <system:String x:Key="3.14">Дополнительная информация по операции</system:String>
                    <system:String x:Key="4">4. Сведения об участниках операции, подлежащей финансовому мониторингу</system:String>
                    <system:String x:Key="4.1">Участник*</system:String>
                    <system:String x:Key="4.2">Клиент субъекта финансового мониторинга*</system:String>
                    <system:String x:Key="4.3">Вид участника*</system:String>
                    <system:String x:Key="4.4">Резидентство*</system:String>
                    <system:String x:Key="4.5">Тип участника операции*</system:String>
                    <system:String x:Key="4.6">Иностранное публичное должностное лицо*</system:String>
                    <system:String x:Key="4.7">Банк участника операции*</system:String>
                    <system:String x:Key="4.7.1">1. Номер счета участника:</system:String>
                    <system:String x:Key="4.7.2">2. Наименование банка/филиала:</system:String>
                    <system:String x:Key="4.7.2.1">2.1. Наименование СДП:</system:String>
                    <system:String x:Key="4.7.2.1-1" xml:space="preserve">       Населенный пункт:</system:String>
                    <system:String x:Key="4.7.3">3. Код банка/филиала:</system:String>
                    <system:String x:Key="4.7.4">4. Страна местонахождения банка/филиала:</system:String>
                    <system:String x:Key="4.7.5">5. Сведения о корреспондентских счетах участвующих в операции:</system:String>
                    <system:String x:Key="4.7.5.а">а. Номер счета:</system:String>
                    <system:String x:Key="4.7.5.б">б. Наименование банка:</system:String>
                    <system:String x:Key="4.7.5.в">в. Код банка:</system:String>
                    <system:String x:Key="4.7.5.г">г. Страна местонахождения банка:</system:String>
                    <system:String x:Key="4.8">Наименование участника операции (для юридических лиц)*</system:String>
                    <system:String x:Key="4.8.1">1. Наименование:</system:String>
                    <system:String x:Key="4.8.1-1">ОПФ:</system:String>
                    <system:String x:Key="4.8.1-2">Название:</system:String>
                    <system:String x:Key="4.8.2">2. Невозможно установить:</system:String>
                    <system:String x:Key="4.9">Учредители участника (для юридических лиц)</system:String>
                    <system:String x:Key="4.9.1a">1. Наименование:</system:String>
                    <system:String x:Key="4.9.1a-1">ОПФ:</system:String>
                    <system:String x:Key="4.9.1a-2">Название:</system:String>
                    <system:String x:Key="4.9.1b">1. Ф.И.О.:</system:String>
                    <system:String x:Key="4.9.1b-1">Фамилия:</system:String>
                    <system:String x:Key="4.9.1b-2">Имя:</system:String>
                    <system:String x:Key="4.9.1b-3">Отчество:</system:String>
                    <system:String x:Key="4.9.2">2. Резидентство:</system:String>
                    <system:String x:Key="4.10">ФИО первого руководителя (для юридических лиц)</system:String>
                    <system:String x:Key="4.10.1">1. Фамилия</system:String>
                    <system:String x:Key="4.10.2">2. Имя</system:String>
                    <system:String x:Key="4.10.3">3. Отчество:</system:String>
                    <system:String x:Key="4.11">РНН</system:String>
                    <system:String x:Key="4.12">ОКЭД</system:String>
                    <system:String x:Key="4.13">ИИН/БИН</system:String>
                    <system:String x:Key="4.14">Ф.И.О. (для физических лиц и индивидуальных предпринимателей)*</system:String>
                    <system:String x:Key="4.14.1">1. Ф.И.О.:</system:String>
                    <system:String x:Key="4.14.1-1">Фамилия:</system:String>
                    <system:String x:Key="4.14.1-2">Имя:</system:String>
                    <system:String x:Key="4.14.1-3">Отчество:</system:String>
                    <system:String x:Key="4.14.2">2. Невозможно установить:</system:String>
                    <system:String x:Key="4.15">Документ, удостоверяющий личность</system:String>
                    <system:String x:Key="4.16">Номер и серия документа, удостоверяющего личность</system:String>
                    <system:String x:Key="4.16.1">1. Номер:</system:String>
                    <system:String x:Key="4.16.2">2. Серия (при наличии):</system:String>
                    <system:String x:Key="4.17">Кем выдан документ, удостоверяющий личность</system:String>
                    <system:String x:Key="4.18">Когда выдан документ, удостоверяющий личность</system:String>
                    <system:String x:Key="4.19">Дата рождения (для физических лиц и индивидуальных пердпринимателей)*</system:String>
                    <system:String x:Key="4.20">Место рождения (для физических лиц и индивидуальных пердпринимателей)*</system:String>
                    <system:String x:Key="4.21">Юридический адрес (для юридических лиц – юридический адрес, для физических лиц – адрес места регистрации)</system:String>
                    <system:String x:Key="4.21.">Страна:</system:String>
                    <system:String x:Key="4.21.1">1. Область:</system:String>
                    <system:String x:Key="4.21.2">2. Район:</system:String>
                    <system:String x:Key="4.21.3">3. Населенный пункт (город/поселок/село):</system:String>
                    <system:String x:Key="4.21.4">4. Наименование улицы/проспекта/мр-на:</system:String>
                    <system:String x:Key="4.21.5">5. № дома:</system:String>
                    <system:String x:Key="4.21.6">6. № квартиры/офиса (при наличии):</system:String>
                    <system:String x:Key="4.21.7">7. Почтовый индекс:</system:String>
                    <system:String x:Key="4.22">Номер контактного телефона*</system:String>
                    <system:String x:Key="4.23">Адрес электронной почты</system:String>
                    <system:String x:Key="4.24">Фактический адрес (для юридических лиц – адрес местонахождения, для физических лиц – адрес места проживания)</system:String>
                    <system:String x:Key="4.24.">Страна:</system:String>
                    <system:String x:Key="4.24.1">1. Область:</system:String>
                    <system:String x:Key="4.24.2">2. Район:</system:String>
                    <system:String x:Key="4.24.3">3. Населенный пункт (город/поселок/село):</system:String>
                    <system:String x:Key="4.24.4">4. Наименование улицы/проспекта/мр-на:</system:String>
                    <system:String x:Key="4.24.5">5. № дома:</system:String>
                    <system:String x:Key="4.24.6">6. № квартиры/офиса (при наличии):</system:String>
                    <system:String x:Key="4.24.7">7. Почтовый индекс:</system:String>
                    <system:String x:Key="4.25">Дополнительная информация об участнике операции</system:String>
                </ResourceDictionary>

                <!--Не работает <ResourceDictionary Source="/SDFO.Core;component/Resources/Styles.xaml" />-->
				<ResourceDictionary>
					<Style x:Key="formSection" TargetType="Grid">
						<Setter Property="Margin" Value="15,0,15,0" />
					</Style>
					<Style x:Key="windowStyle" TargetType="{x:Type Grid}">
						<Setter Property="Background" Value="White" />
					</Style>
					<Style x:Key="cellBorder" TargetType="{x:Type Border}">
						<Setter Property="BorderThickness" Value="1,0,0,1" />
						<Setter Property="BorderBrush" Value="Black" />
						<Setter Property="Margin" Value="0,0,0,0" />
						<Setter Property="SnapsToDevicePixels" Value="True" />
						<Setter Property="Background" Value="White"/>
					</Style>
					<Style x:Key="outerBorder" TargetType="{x:Type Border}">
						<Setter Property="BorderThickness" Value="0,1,1,0" />
						<Setter Property="BorderBrush" Value="Black" />
						<Setter Property="Margin" Value="0,0,0,0" />
						<Setter Property="SnapsToDevicePixels" Value="True" />
					</Style>
					<Style x:Key="docInfoBorder" TargetType="{x:Type mwt:ClassicBorderDecorator}">
						<Setter Property="BorderThickness" Value="2" />
						<Setter Property="BorderBrush" Value="{x:Static mwt:ClassicBorderDecorator.ClassicBorderBrush}" />
						<Setter Property="BorderStyle" Value="Etched" />
						<Setter Property="SnapsToDevicePixels" Value="True" />
					</Style>
					<Style x:Key="formHeaderStyle" TargetType="{x:Type TextBlock}">
						<Setter Property="HorizontalAlignment" Value="Stretch" />
						<Setter Property="VerticalAlignment" Value="Center" />
						<Setter Property="TextAlignment" Value="Center" />
						<Setter Property="FontSize" Value="16" />
						<Setter Property="FontWeight" Value="Bold" />
						<Setter Property="FontFamily" Value="Arial" />
						<Setter Property="Background" Value="White" />
						<Setter Property="Padding" Value="3,1,3,1" />
					</Style>
					<Style x:Key="headerStyle" TargetType="{x:Type TextBlock}">
						<Setter Property="HorizontalAlignment" Value="Stretch" />
						<Setter Property="VerticalAlignment" Value="Center" />
						<Setter Property="FontSize" Value="12" />
						<Setter Property="FontFamily" Value="Times New Roman" />
					</Style>
					<Style x:Key="headerStyle2" TargetType="{x:Type TextBlock}">
						<Setter Property="FontSize" Value="12" />
						<Setter Property="FontFamily" Value="Arial" />
						<Setter Property="FontWeight" Value="Bold" />
						<Setter Property="TextAlignment" Value="Center" />
						<Setter Property="HorizontalAlignment" Value="Stretch" />
						<Setter Property="VerticalAlignment" Value="Center" />
						<Setter Property="Padding" Value="3,1,3,1" />
					</Style>
					<Style x:Key="cellStyle" TargetType="{x:Type TextBlock}">
						<Setter Property="FontSize" Value="11" />
						<Setter Property="FontFamily" Value="Times New Roman" />
						<Setter Property="HorizontalAlignment" Value="Stretch" />
						<Setter Property="VerticalAlignment" Value="Center" />
						<Setter Property="Padding" Value="3,2,3,2" />
						<Setter Property="TextWrapping" Value="Wrap" />
					</Style>
					<Style x:Key="SystemIdStyle" TargetType="{x:Type TextBlock}">
						<Setter Property="VerticalAlignment" Value="Center" />
						<Setter Property="FontSize" Value="10" />
					</Style>
					<Style x:Key="docInfoStyle" TargetType="{x:Type TextBlock}">
						<Setter Property="Foreground" Value="Green" />
						<Setter Property="VerticalAlignment" Value="Center" />
						<Setter Property="FontSize" Value="10" />
					</Style>
					<Style x:Key="documentActionStyle" TargetType="{x:Type Button}">
						<Setter Property="Background" Value="White"/>
						<Setter Property="Padding" Value="10,2,10,2"/>
						<Setter Property="Margin" Value="10,0,0,0"/>
					</Style>
				</ResourceDictionary>

            </ResourceDictionary.MergedDictionaries>

			<FrameworkElement x:Key="loader"
					xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" />
            <c:NullOrEmptyToVisibilityConverter x:Key="nullOrEmptyToVisibilityConverter" />
            <c:BoolToVisibilityConverter x:Key="boolToVisibilityConverter" />
            <c:ComparisonToVisibilityConverter x:Key="comparisonToVisibilityConverter" />
        </ResourceDictionary>
    </base:BaseControl.Resources>

    <!--При загрузки контрола вызываем выбор языка-->
    <i:Interaction.Triggers>
        <i:EventTrigger EventName="Initialized">
            <cmd:EventToCommand
				Command="{Binding СhooseLanguage, RelativeSource=
																   {RelativeSource
																	Mode=FindAncestor,
																	AncestorType={x:Type base:BaseControl}}}" />
        </i:EventTrigger>
    </i:Interaction.Triggers>

    <!--Биндим нужную ViewModel из локатора-->
    <Grid Style="{StaticResource windowStyle}">
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <ScrollViewer>
            <Grid Margin="10">
                <Grid.RowDefinitions>
                    <RowDefinition Height="*" />
                    <RowDefinition Height="25" />
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="Auto" />
                </Grid.RowDefinitions>

                <Border Style="{StaticResource outerBorder}" x:Name="content">
                    <Grid u:GridHelpers.RowCount="62">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto"/>
                            <ColumnDefinition Width="*" MaxWidth="140"/>
                            <ColumnDefinition Width="*" MaxWidth="180"/>
                            <ColumnDefinition Width="*"/>
                        </Grid.ColumnDefinitions>
                        <Border Style="{StaticResource cellBorder}" Grid.ColumnSpan="5">
                            <TextBlock Style="{StaticResource formHeaderStyle}" Text="{DynamicResource Label.FM1}" TextWrapping="Wrap"/>
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Background="#f0f4fe" Grid.Row="1" Grid.Column="0">
                            <TextBlock Text="{DynamicResource Label.Npp}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Background="#f0f4fe" Grid.Row="1" Grid.Column="1">
                            <TextBlock Text="{DynamicResource Label.Subject}" Style="{StaticResource cellStyle}"  />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Background="#f0f4fe" Grid.Row="1" Grid.Column="2"
							        Grid.ColumnSpan="3">
                            <TextBlock Text="{DynamicResource Label.Content}" Style="{StaticResource cellStyle}"  />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Background="#f9925b" Grid.Row="2" Grid.ColumnSpan="5">
                            <TextBlock Style="{StaticResource headerStyle2}" Text="{DynamicResource 1}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="3">
                            <TextBlock Style="{StaticResource cellStyle}" Text="1.1" TextAlignment="Center"/>
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="3" Grid.Column="1">
                            <TextBlock Text="{DynamicResource 1.1}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <StackPanel Grid.Row="3" Grid.Column="2" Grid.ColumnSpan="2" >
                            <Grid>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition Width="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Grid},AncestorLevel=2}, Path=ColumnDefinitions[2].ActualWidth,Mode=OneWay}"/>
                                    <ColumnDefinition Width="*"/>
                                </Grid.ColumnDefinitions>
                                <Border Style="{StaticResource cellBorder}" Grid.Column="0">
                                    <TextBlock Text="{DynamicResource 1.1.1}" Style="{StaticResource cellStyle}" />
                                </Border>
                                <Border Style="{StaticResource cellBorder}" Grid.Column="1">
                                    <TextBlock Text="{Binding FM1Number,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                </Border>
                            </Grid>
                            <Border Style="{StaticResource cellBorder}" Visibility="{Binding FM1References,Converter={StaticResource nullOrEmptyToVisibilityConverter},Mode=OneWay}">
                                <TextBlock Text="{DynamicResource 1.1.2}" Style="{StaticResource cellStyle}" />
                            </Border>
                            <ItemsControl ItemsSource="{Binding FM1References,Mode=OneWay}" BorderThickness="0"
                                     Visibility="{Binding FM1References,Converter={StaticResource nullOrEmptyToVisibilityConverter},Mode=OneWay}">
                                <ItemsControl.ItemTemplate>
                                    <DataTemplate>
                                        <Grid u:GridHelpers.RowCount="3">
                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Grid}, AncestorLevel=2}, Path=ColumnDefinitions[2].ActualWidth,Mode=OneWay}"/>
                                                <ColumnDefinition Width="*"/>
                                            </Grid.ColumnDefinitions>

                                            <Border Style="{StaticResource cellBorder}">
                                                <TextBlock Text="{DynamicResource 1.1.2.1}" Style="{StaticResource cellStyle}" />
                                            </Border>
                                            <Border Style="{StaticResource cellBorder}" Grid.Column="1">
                                                <TextBlock Text="{Binding FM1Number}" Style="{StaticResource cellStyle}" />
                                            </Border>

                                            <Border Style="{StaticResource cellBorder}" Grid.Row="1">
                                                <TextBlock Text="{DynamicResource 1.1.2.2}" Style="{StaticResource cellStyle}" />
                                            </Border>
                                            <Border Style="{StaticResource cellBorder}" Grid.Row="1" Grid.Column="1">
                                                <TextBlock Text="{Binding OperationDate,StringFormat='dd.MM.yyyy'}" Style="{StaticResource cellStyle}" />
                                            </Border>

                                            <Border Style="{StaticResource cellBorder}" Grid.Row="2">
                                                <TextBlock Text="{DynamicResource 1.1.2.3}" Style="{StaticResource cellStyle}" />
                                            </Border>
                                            <Border Style="{StaticResource cellBorder}" Grid.Row="2" Grid.Column="1">
                                                <TextBlock Text="{Binding OperationNumber}" Style="{StaticResource cellStyle}" />
                                            </Border>
                                        </Grid>
                                    </DataTemplate>
                                </ItemsControl.ItemTemplate>
                            </ItemsControl>
                        </StackPanel>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="5">
                            <TextBlock Style="{StaticResource cellStyle}" Text="1.2" TextAlignment="Center"/>
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="5" Grid.Column="1">
                            <TextBlock Text="{DynamicResource 1.2}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="5" Grid.Column="2" Grid.ColumnSpan="2">
                            <TextBlock Text="{Binding FM1Date,Mode=OneWay,StringFormat='dd.MM.yyyy'}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="9">
                            <TextBlock Style="{StaticResource cellStyle}" Text="1.3" TextAlignment="Center"/>
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="9" Grid.Column="1">
                            <TextBlock Text="{DynamicResource 1.3}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="9" Grid.Column="2" Grid.ColumnSpan="2">
                            <TextBlock Text="{Binding DocumentType,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="10">
                            <TextBlock Style="{StaticResource cellStyle}" Text="1.4" TextAlignment="Center"/>
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="10" Grid.Column="1">
                            <TextBlock Text="{DynamicResource 1.4}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="10" Grid.Column="2" Grid.ColumnSpan="2">
                            <TextBlock Text="{Binding OperationStatus,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="11">
                            <TextBlock Style="{StaticResource cellStyle}" TextAlignment="Center"/>
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="11" Grid.Column="1">
                            <TextBlock Text="{DynamicResource 1.4-1}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="11" Grid.Column="2" Grid.ColumnSpan="2">
                            <TextBlock Text="{Binding OperationDateTime,Mode=OneWay,StringFormat='dd.MM.yyyy HH:mm:ss'}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="12">
                            <TextBlock Style="{StaticResource cellStyle}" Text="1.5" TextAlignment="Center"/>
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="12" Grid.Column="1">
                            <TextBlock Text="{DynamicResource 1.5}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="12" Grid.Column="2" Grid.ColumnSpan="2">
                            <TextBlock Text="{Binding Reason,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Grid Grid.Row="13" Grid.ColumnSpan="4">
                            <Grid.Visibility>
                                <MultiBinding Converter="{StaticResource comparisonToVisibilityConverter}" ConverterParameter="==">
                                    <Binding Path="ReasonCode" Mode="OneWay"/>
                                    <Binding>
                                        <Binding.Source>
                                            <system:Int64>2</system:Int64>
                                        </Binding.Source>
                                    </Binding>
                                </MultiBinding>
                            </Grid.Visibility>

                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Grid}, AncestorLevel=2}, Path=ColumnDefinitions[0].ActualWidth,Mode=OneWay}"/>
                                <ColumnDefinition Width="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Grid}, AncestorLevel=2}, Path=ColumnDefinitions[1].ActualWidth,Mode=OneWay}"/>
                                <ColumnDefinition Width="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Grid}, AncestorLevel=2}, Path=ColumnDefinitions[2].ActualWidth,Mode=OneWay}"/>
                                <ColumnDefinition Width="*"/>
                            </Grid.ColumnDefinitions>

                            <Border Style="{StaticResource cellBorder}">
                                <TextBlock Style="{StaticResource cellStyle}" TextAlignment="Center"/>
                            </Border>
                            <Border Style="{StaticResource cellBorder}" Grid.Column="1">
                                <TextBlock Text="{DynamicResource 1.5-1}" Style="{StaticResource cellStyle}" />
                            </Border>
                            <Border Style="{StaticResource cellBorder}" Grid.Column="2" Grid.ColumnSpan="2">
                                <TextBlock Text="{Binding SuspicionCriteria,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                            </Border>
                        </Grid>

                        <Border Style="{StaticResource cellBorder}" Background="#f9925b" Grid.Row="14" Grid.ColumnSpan="5">
                            <TextBlock Style="{StaticResource headerStyle2}" Text="{DynamicResource 2}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="15">
                            <TextBlock Style="{StaticResource cellStyle}" Text="2.1" TextAlignment="Center"/>
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="15" Grid.Column="1">
                            <TextBlock Text="{DynamicResource 2.1}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="15" Grid.Column="2" Grid.ColumnSpan="2">
                            <TextBlock Text="{Binding OrganizationCode,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="16" Grid.RowSpan="5">
                            <TextBlock Style="{StaticResource cellStyle}" Text="2.2" TextAlignment="Center"/>
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="16" Grid.Column="1" Grid.RowSpan="5">
                            <TextBlock Text="{DynamicResource 2.1}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="16" Grid.Column="2">
                            <TextBlock Text="{DynamicResource 2.2.1}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="16" Grid.Column="3">
                            <TextBlock Text="{Binding OrganizationOPF,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="17" Grid.Column="2">
                            <TextBlock Text="{DynamicResource 2.2.2}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="17" Grid.Column="3">
                            <TextBlock Text="{Binding OrganizationName,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="18" Grid.Column="2">
                            <TextBlock Text="{DynamicResource 2.2.2.1}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="18" Grid.Column="3">
                            <TextBlock Text="{Binding HeadName.LastName,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="19" Grid.Column="2">
                            <TextBlock Text="{DynamicResource 2.2.2.2}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="19" Grid.Column="3">
                            <TextBlock Text="{Binding HeadName.FirstName,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="20" Grid.Column="2">
                            <TextBlock Text="{DynamicResource 2.2.2.3}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="20" Grid.Column="3">
                            <TextBlock Text="{Binding HeadName.MiddleName,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="21">
                            <TextBlock Style="{StaticResource cellStyle}" Text="2.3" TextAlignment="Center"/>
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="21" Grid.Column="1">
                            <TextBlock Text="{DynamicResource 2.3}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="21" Grid.Column="2" Grid.ColumnSpan="2">
                            <TextBlock Text="{Binding RNN,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="22">
                            <TextBlock Style="{StaticResource cellStyle}" Text="2.4" TextAlignment="Center"/>
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="22" Grid.Column="1">
                            <TextBlock Text="{DynamicResource 2.4}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="22" Grid.Column="2" Grid.ColumnSpan="2">
                            <TextBlock Text="{Binding IINBIN,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="23" Grid.RowSpan="7">
                            <TextBlock Style="{StaticResource cellStyle}" Text="2.5" TextAlignment="Center"/>
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="23" Grid.Column="1" Grid.RowSpan="7">
                            <TextBlock Text="{DynamicResource 2.5}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="23" Grid.Column="2">
                            <TextBlock Text="{DynamicResource 2.5.1}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="23" Grid.Column="3">
                            <TextBlock Text="{Binding Location.Area,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="24" Grid.Column="2">
                            <TextBlock Text="{DynamicResource 2.5.2}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="24" Grid.Column="3">
                            <TextBlock Text="{Binding Location.District,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="25" Grid.Column="2">
                            <TextBlock Text="{DynamicResource 2.5.3}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="25" Grid.Column="3">
                            <TextBlock Text="{Binding Location.City,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="26" Grid.Column="2">
                            <TextBlock Text="{DynamicResource 2.5.4}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="26" Grid.Column="3">
                            <TextBlock Text="{Binding Location.Street,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="27" Grid.Column="2">
                            <TextBlock Text="{DynamicResource 2.5.5}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="27" Grid.Column="3">
                            <TextBlock Text="{Binding Location.House,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="28" Grid.Column="2">
                            <TextBlock Text="{DynamicResource 2.5.6}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="28" Grid.Column="3">
                            <TextBlock Text="{Binding Location.Office,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="29" Grid.Column="2">
                            <TextBlock Text="{DynamicResource 2.5.7}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="29" Grid.Column="3">
                            <TextBlock Text="{Binding Location.Postcode,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="30">
                            <TextBlock Style="{StaticResource cellStyle}" Text="2.6" TextAlignment="Center"/>
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="30" Grid.Column="1">
                            <TextBlock Text="{DynamicResource 2.6}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="30" Grid.Column="2" Grid.ColumnSpan="2">
                            <TextBlock Text="{Binding IdentityCard.DocumentName,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="31" Grid.RowSpan="2">
                            <TextBlock Style="{StaticResource cellStyle}" Text="2.6.1" TextAlignment="Center"/>
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="31" Grid.Column="1" Grid.RowSpan="2">
                            <TextBlock Text="{DynamicResource 2.6.1}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="31" Grid.Column="2">
                            <TextBlock Text="{DynamicResource 2.6.1.1}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="31" Grid.Column="3">
                            <TextBlock Text="{Binding IdentityCard.Number,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="32" Grid.Column="2">
                            <TextBlock Text="{DynamicResource 2.6.1.2}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="32" Grid.Column="3">
                            <TextBlock Text="{Binding IdentityCard.Series,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="33">
                            <TextBlock Style="{StaticResource cellStyle}" Text="2.6.2" TextAlignment="Center"/>
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="33" Grid.Column="1">
                            <TextBlock Text="{DynamicResource 2.6.2}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="33" Grid.Column="2" Grid.ColumnSpan="2">
                            <TextBlock Text="{Binding IdentityCard.IssuedBy,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="34">
                            <TextBlock Style="{StaticResource cellStyle}" Text="2.6.3" TextAlignment="Center"/>
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="34" Grid.Column="1">
                            <TextBlock Text="{DynamicResource 2.6.3}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="34" Grid.Column="2" Grid.ColumnSpan="2">
                            <TextBlock Text="{Binding IdentityCard.Date,Mode=OneWay,StringFormat='dd.MM.yyyy'}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="35" Grid.RowSpan="3">
                            <TextBlock Style="{StaticResource cellStyle}" Text="2.7" TextAlignment="Center"/>
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="35" Grid.Column="1" Grid.RowSpan="3">
                            <TextBlock Text="{DynamicResource 2.7}" Style="{StaticResource cellStyle}"/>
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="35" Grid.Column="2">
                            <TextBlock Text="{DynamicResource 2.7-1}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="35" Grid.Column="3">
                            <TextBlock Text="{Binding Responsible.FIO.LastName, Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="36" Grid.Column="2">
                            <TextBlock Text="{DynamicResource 2.7-2}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="36" Grid.Column="3">
                            <TextBlock Text="{Binding Responsible.FIO.FirstName, Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="37" Grid.Column="2">
                            <TextBlock Text="{DynamicResource 2.7-3}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="37" Grid.Column="3">
                            <TextBlock Text="{Binding Responsible.FIO.MiddleName, Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="38">
                            <TextBlock Style="{StaticResource cellStyle}" Text="2.7.1" TextAlignment="Center"/>
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="38" Grid.Column="1">
                            <TextBlock Text="{DynamicResource 2.7.1}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="38" Grid.Column="2" Grid.ColumnSpan="2">
                            <TextBlock Text="{Binding Responsible.Position,Mode=OneWay}" Style="{StaticResource cellStyle}" Margin="0,0,0,6" VerticalAlignment="Bottom" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="39">
                            <TextBlock Style="{StaticResource cellStyle}" Text="2.8" TextAlignment="Center"/>
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="39" Grid.Column="1">
                            <TextBlock Text="{DynamicResource 2.8}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="39" Grid.Column="2" Grid.ColumnSpan="2">
                            <TextBlock Text="{Binding Responsible.Phone,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="40">
                            <TextBlock Style="{StaticResource cellStyle}" Text="2.9" TextAlignment="Center"/>
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="40" Grid.Column="1">
                            <TextBlock Text="{DynamicResource 2.9}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="40" Grid.Column="2" Grid.ColumnSpan="2">
                            <TextBlock Text="{Binding Responsible.Email,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Background="#f9925b" Grid.Row="41" Grid.ColumnSpan="5">
                            <TextBlock Style="{StaticResource headerStyle2}" Text="{DynamicResource 3}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="42">
                            <TextBlock Style="{StaticResource cellStyle}" Text="3.1" TextAlignment="Center"/>
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="42" Grid.Column="1">
                            <TextBlock Text="{DynamicResource 3.1}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="42" Grid.Column="2" Grid.ColumnSpan="2">
                            <TextBlock Text="{Binding OperationNumber,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="43" Grid.RowSpan="4">
                            <TextBlock Style="{StaticResource cellStyle}" Text="3.2" TextAlignment="Center" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="43" Grid.Column="1" Grid.RowSpan="4">
                            <TextBlock Text="{DynamicResource 3.2}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="43" Grid.Column="2">
                            <TextBlock Text="{DynamicResource 3.2.1}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="43" Grid.Column="3">
                            <TextBlock Text="{Binding Operation,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="44" Grid.Column="2" Grid.ColumnSpan="2">
                            <TextBlock Text="{DynamicResource 3.2.2}" Style="{StaticResource cellStyle}" />
                        </Border >

                        <Border Style="{StaticResource cellBorder}" Grid.Row="45" Grid.Column="2">
                            <TextBlock Text="{DynamicResource 3.2.2.1}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="45" Grid.Column="3">
                            <TextBlock Text="{Binding Property,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="46" Grid.Column="2">
                            <TextBlock Text="{DynamicResource 3.2.2.2}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="46" Grid.Column="3">
                            <TextBlock Text="{Binding PropertyRegNumber,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="47" Grid.RowSpan="2">
                            <TextBlock Style="{StaticResource cellStyle}" Text="3.3" TextAlignment="Center" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="47" Grid.Column="1" Grid.RowSpan="2">
                            <TextBlock Text="{DynamicResource 3.3}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="47" Grid.Column="2">
                            <TextBlock Text="{DynamicResource 3.3.1}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="47" Grid.Column="3">
                            <TextBlock Text="{Binding EKNP}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="48" Grid.Column="2">
                            <TextBlock Text="{DynamicResource 3.3.2}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="48" Grid.Column="3">
                            <TextBlock Text="{DynamicResource Label.Yes}" Style="{StaticResource cellStyle}"
                                       Visibility="{Binding EKNPIsNotDetermined,Converter={StaticResource boolToVisibilityConverter}}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="49">
                            <TextBlock Style="{StaticResource cellStyle}" Text="3.4" TextAlignment="Center"/>
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="49" Grid.Column="1">
                            <TextBlock Text="{DynamicResource 3.4}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="49" Grid.Column="2" Grid.ColumnSpan="2">
                            <TextBlock Text="{Binding ParticipantCount,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="50">
                            <TextBlock Style="{StaticResource cellStyle}" Text="3.5" TextAlignment="Center"/>
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="50" Grid.Column="1">
                            <TextBlock Text="{DynamicResource 3.5}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="50" Grid.Column="2" Grid.ColumnSpan="2">
                            <TextBlock Text="{Binding Currency,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="51">
                            <TextBlock Style="{StaticResource cellStyle}" Text="3.6" TextAlignment="Center"/>
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="51" Grid.Column="1">
                            <TextBlock Text="{DynamicResource 3.6}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="51" Grid.Column="2" Grid.ColumnSpan="2">
                            <TextBlock Text="{Binding CurrencySum,StringFormat=N2,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="52">
                            <TextBlock Style="{StaticResource cellStyle}" Text="3.7" TextAlignment="Center"/>
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="52" Grid.Column="1">
                            <TextBlock Text="{DynamicResource 3.7}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="52" Grid.Column="2" Grid.ColumnSpan="2">
                            <TextBlock Text="{Binding TengeSum,StringFormat=N2,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="53">
                            <TextBlock Style="{StaticResource cellStyle}" Text="3.8" TextAlignment="Center"/>
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="53" Grid.Column="1">
                            <TextBlock Text="{DynamicResource 3.8}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="53" Grid.Column="2" Grid.ColumnSpan="2">
                            <TextBlock Text="{Binding OperationReason,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="54" Grid.RowSpan="2">
                            <TextBlock Style="{StaticResource cellStyle}" Text="3.9" TextAlignment="Center" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="54" Grid.Column="1" Grid.RowSpan="2">
                            <TextBlock Text="{DynamicResource 3.9}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="54" Grid.Column="2">
                            <TextBlock Text="{DynamicResource 3.9.1}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="54" Grid.Column="3">
                            <TextBlock Text="{Binding OperationDocumentDate,Mode=OneWay,StringFormat='dd.MM.yyyy'}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="55" Grid.Column="2">
                            <TextBlock Text="{DynamicResource 3.9.2}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="55" Grid.Column="3">
                            <TextBlock Text="{Binding OperationDocumentNumber,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="56">
                            <TextBlock Style="{StaticResource cellStyle}" Text="3.10" TextAlignment="Center"/>
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="56" Grid.Column="1">
                            <TextBlock Text="{DynamicResource 3.10}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="56" Grid.Column="2" Grid.ColumnSpan="2">
                            <TextBlock Text="{Binding Suspicious1,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="57">
                            <TextBlock Style="{StaticResource cellStyle}" Text="3.11" TextAlignment="Center"/>
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="57" Grid.Column="1">
                            <TextBlock Text="{DynamicResource 3.11}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="57" Grid.Column="2" Grid.ColumnSpan="2">
                            <TextBlock Text="{Binding Suspicious2,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="58">
                            <TextBlock Style="{StaticResource cellStyle}" Text="3.12" TextAlignment="Center"/>
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="58" Grid.Column="1">
                            <TextBlock Text="{DynamicResource 3.12}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="58" Grid.Column="2" Grid.ColumnSpan="2">
                            <TextBlock Text="{Binding Suspicious3,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="59">
                            <TextBlock Style="{StaticResource cellStyle}" Text="3.13" TextAlignment="Center"/>
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="59" Grid.Column="1">
                            <TextBlock Text="{DynamicResource 3.13}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="59" Grid.Column="2" Grid.ColumnSpan="2">
                            <TextBlock Text="{Binding Difficulties,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <Border Style="{StaticResource cellBorder}" Grid.Row="60">
                            <TextBlock Style="{StaticResource cellStyle}" Text="3.14" TextAlignment="Center"/>
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="60" Grid.Column="1">
                            <TextBlock Text="{DynamicResource 3.14}" Style="{StaticResource cellStyle}" />
                        </Border>
                        <Border Style="{StaticResource cellBorder}" Grid.Row="60" Grid.Column="2" Grid.ColumnSpan="2">
                            <TextBlock Text="{Binding AdditionalInfo,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                        </Border>

                        <ItemsControl ItemsSource="{Binding Participants,Mode=OneWay}" BorderThickness="0" Grid.Row="61" Grid.ColumnSpan="4">
                            <ItemsControl.ItemTemplate>
                                <DataTemplate>
                                    <Grid u:GridHelpers.RowCount="38">
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition Width="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Grid}, AncestorLevel=2}, Path=ColumnDefinitions[0].ActualWidth,Mode=OneWay}"/>
                                            <ColumnDefinition Width="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Grid}, AncestorLevel=2}, Path=ColumnDefinitions[1].ActualWidth,Mode=OneWay}"/>
                                            <ColumnDefinition Width="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Grid}, AncestorLevel=2}, Path=ColumnDefinitions[2].ActualWidth,Mode=OneWay}"/>
                                            <ColumnDefinition Width="*"/>
                                        </Grid.ColumnDefinitions>

                                        <Border Style="{StaticResource cellBorder}" Background="#f9925b" Grid.Row="0" Grid.ColumnSpan="5">
                                            <TextBlock Style="{StaticResource headerStyle2}" Text="{DynamicResource 4}" />
                                        </Border>

                                        <Border Style="{StaticResource cellBorder}" Grid.Row="1">
                                            <TextBlock Style="{StaticResource cellStyle}" Text="4.1" TextAlignment="Center"/>
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="1" Grid.Column="1">
                                            <TextBlock Text="{DynamicResource 4.1}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="1" Grid.Column="2" Grid.ColumnSpan="2">
                                            <TextBlock Text="{Binding Role,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                        </Border>

                                        <Border Style="{StaticResource cellBorder}" Grid.Row="2">
                                            <TextBlock Style="{StaticResource cellStyle}" Text="4.2" TextAlignment="Center"/>
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="2" Grid.Column="1">
                                            <TextBlock Text="{DynamicResource 4.2}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="2" Grid.Column="2" Grid.ColumnSpan="2">
                                            <TextBlock Text="{Binding ClientSFM,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                        </Border>

                                        <Border Style="{StaticResource cellBorder}" Grid.Row="3">
                                            <TextBlock Style="{StaticResource cellStyle}" Text="4.3" TextAlignment="Center"/>
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="3" Grid.Column="1">
                                            <TextBlock Text="{DynamicResource 4.3}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="3" Grid.Column="2" Grid.ColumnSpan="2">
                                            <TextBlock Text="{Binding Kind,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                        </Border>

                                        <Border Style="{StaticResource cellBorder}" Grid.Row="4">
                                            <TextBlock Style="{StaticResource cellStyle}" Text="4.4" TextAlignment="Center"/>
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="4" Grid.Column="1">
                                            <TextBlock Text="{DynamicResource 4.4}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="4" Grid.Column="2" Grid.ColumnSpan="2">
                                            <TextBlock Text="{Binding Citizen, Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                        </Border>

                                        <Border Style="{StaticResource cellBorder}" Grid.Row="5">
                                            <TextBlock Style="{StaticResource cellStyle}" Text="4.5" TextAlignment="Center"/>
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="5" Grid.Column="1">
                                            <TextBlock Text="{DynamicResource 4.5}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="5" Grid.Column="2" Grid.ColumnSpan="2">
                                            <TextBlock Text="{Binding Type,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                        </Border>

                                        <Border Style="{StaticResource cellBorder}" Grid.Row="6">
                                            <TextBlock Style="{StaticResource cellStyle}" Text="4.6" TextAlignment="Center"/>
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="6" Grid.Column="1">
                                            <TextBlock Text="{DynamicResource 4.6}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="6" Grid.Column="2" Grid.ColumnSpan="2">
                                            <TextBlock Text="{Binding ForeignPerson,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                        </Border>

                                        <Border Style="{StaticResource cellBorder}" Grid.Row="7" Grid.RowSpan="7">
                                            <TextBlock Text="4.7" Style="{StaticResource cellStyle}" TextAlignment="Center" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="7" Grid.Column="1" Grid.RowSpan="7">
                                            <TextBlock Text="{DynamicResource 4.7}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="7" Grid.Column="2">
                                            <TextBlock Text="{DynamicResource 4.7.1}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="7" Grid.Column="3">
                                            <TextBlock Text="{Binding Bank.BankAccount,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                        </Border>

                                        <Border Style="{StaticResource cellBorder}" Grid.Row="8" Grid.Column="2">
                                            <TextBlock Text="{DynamicResource 4.7.2}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="8" Grid.Column="3">
                                            <TextBlock Text="{Binding Bank.BankName,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                        </Border>

                                        <Border Style="{StaticResource cellBorder}" Grid.Row="9" Grid.Column="2">
                                            <TextBlock Text="{DynamicResource 4.7.2.1}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="9" Grid.Column="3">
                                            <TextBlock Text="{Binding Bank.MoneyTransferService,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                        </Border>

                                        <Border Style="{StaticResource cellBorder}" Grid.Row="10" Grid.Column="2">
                                            <TextBlock Text="{DynamicResource 4.7.2.1-1}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="10" Grid.Column="3">
                                            <TextBlock Text="{Binding Bank.BankCity,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                        </Border>

                                        <Border Style="{StaticResource cellBorder}" Grid.Row="11" Grid.Column="2">
                                            <TextBlock Text="{DynamicResource 4.7.3}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="11" Grid.Column="3">
                                            <TextBlock Text="{Binding Bank.BankCode,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                        </Border>

                                        <Border Style="{StaticResource cellBorder}" Grid.Row="12" Grid.Column="2">
                                            <TextBlock Text="{DynamicResource 4.7.4}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="12" Grid.Column="3">
                                            <TextBlock Text="{Binding Bank.BankCountry,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                        </Border>

                                        <ItemsControl Grid.Row="13" Grid.Column="2" Grid.ColumnSpan="2" ItemsSource="{Binding Bank.CorrespondentBanks,Mode=OneWay}" BorderThickness="0"
                                                      Visibility="{Binding Bank.CorrespondentBanks,Converter={StaticResource nullOrEmptyToVisibilityConverter},Mode=OneWay}">
                                            <ItemsControl.ItemTemplate>
                                                <DataTemplate>
                                                    <Grid u:GridHelpers.RowCount="4">
                                                        <Grid.ColumnDefinitions>
                                                            <ColumnDefinition Width="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Grid}, AncestorLevel=3}, Path=ColumnDefinitions[2].ActualWidth,Mode=OneWay}"/>
                                                            <ColumnDefinition Width="Auto"/>
                                                            <ColumnDefinition Width="*"/>
                                                        </Grid.ColumnDefinitions>
                                                        <Border Style="{StaticResource cellBorder}" Grid.Row="0" Grid.RowSpan="4" Grid.Column="0">
                                                            <TextBlock Text="{DynamicResource 4.7.5}" Style="{StaticResource cellStyle}" />
                                                        </Border>
                                                        <Border Style="{StaticResource cellBorder}" Grid.Row="0" Grid.Column="1">
                                                            <TextBlock Text="{DynamicResource 4.7.5.а}" Style="{StaticResource cellStyle}" />
                                                        </Border>
                                                        <Border Style="{StaticResource cellBorder}" Grid.Row="0" Grid.Column="2">
                                                            <TextBlock Text="{Binding BankAccount,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                                        </Border>

                                                        <Border Style="{StaticResource cellBorder}" Grid.Row="1" Grid.Column="1">
                                                            <TextBlock Text="{DynamicResource 4.7.5.б}" Style="{StaticResource cellStyle}" />
                                                        </Border>
                                                        <Border Style="{StaticResource cellBorder}" Grid.Row="1" Grid.Column="2">
                                                            <TextBlock Text="{Binding BankName,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                                        </Border>

                                                        <Border Style="{StaticResource cellBorder}" Grid.Row="2" Grid.Column="1">
                                                            <TextBlock Text="{DynamicResource 4.7.5.в}" Style="{StaticResource cellStyle}" />
                                                        </Border>
                                                        <Border Style="{StaticResource cellBorder}" Grid.Row="2" Grid.Column="2">
                                                            <TextBlock Text="{Binding BankCode,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                                        </Border>

                                                        <Border Style="{StaticResource cellBorder}" Grid.Row="3" Grid.Column="1">
                                                            <TextBlock Text="{DynamicResource 4.7.5.г}" Style="{StaticResource cellStyle}" />
                                                        </Border>
                                                        <Border Style="{StaticResource cellBorder}" Grid.Row="3" Grid.Column="2">
                                                            <TextBlock Text="{Binding BankCountry,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                                        </Border>
                                                    </Grid>
                                                </DataTemplate>
                                            </ItemsControl.ItemTemplate>
                                        </ItemsControl>

                                        <Grid u:GridHelpers.RowCount="6" Grid.Row="14" Grid.ColumnSpan="4">
                                            <Grid.Visibility>
                                                <MultiBinding Converter="{StaticResource comparisonToVisibilityConverter}" ConverterParameter="==">
                                                    <Binding Path="TypeCode" Mode="OneWay"/>
                                                    <Binding>
                                                        <Binding.Source>
                                                            <system:Int64>1</system:Int64>
                                                        </Binding.Source>
                                                    </Binding>
                                                </MultiBinding>
                                            </Grid.Visibility>

                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Grid}, AncestorLevel=3}, Path=ColumnDefinitions[0].ActualWidth,Mode=OneWay}"/>
                                                <ColumnDefinition Width="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Grid}, AncestorLevel=3}, Path=ColumnDefinitions[1].ActualWidth,Mode=OneWay}"/>
                                                <ColumnDefinition Width="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Grid}, AncestorLevel=3}, Path=ColumnDefinitions[2].ActualWidth,Mode=OneWay}"/>
                                                <ColumnDefinition Width="*"/>
                                            </Grid.ColumnDefinitions>

                                            <Border Style="{StaticResource cellBorder}" Grid.Row="0" Grid.RowSpan="2">
                                                <TextBlock Text="4.8" Style="{StaticResource cellStyle}" TextAlignment="Center" />
                                            </Border>
                                            <Border Style="{StaticResource cellBorder}" Grid.Row="0" Grid.Column="1" Grid.RowSpan="2">
                                                <TextBlock Text="{DynamicResource 4.8}" Style="{StaticResource cellStyle}" />
                                            </Border>
                                            <Border Style="{StaticResource cellBorder}" Grid.Row="0" Grid.Column="2">
                                                <TextBlock Text="{DynamicResource 4.8.1}" Style="{StaticResource cellStyle}" />
                                            </Border>
                                            <Grid u:GridHelpers.ColumnCount="2" u:GridHelpers.StarColumns="1" u:GridHelpers.RowCount="2"  Grid.Row="0" Grid.Column="3">
                                                <Border Style="{StaticResource cellBorder}" Grid.Row="0" Grid.Column="0">
                                                    <TextBlock Text="{DynamicResource 4.8.1-1}" Style="{StaticResource cellStyle}" />
                                                </Border>
                                                <Border Style="{StaticResource cellBorder}" Grid.Row="0" Grid.Column="1">
                                                    <TextBlock Text="{Binding Company.OrganizationOPF,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                                </Border>

                                                <Border Style="{StaticResource cellBorder}" Grid.Row="1" Grid.Column="0">
                                                    <TextBlock Text="{DynamicResource 4.8.1-2}" Style="{StaticResource cellStyle}" />
                                                </Border>
                                                <Border Style="{StaticResource cellBorder}" Grid.Row="1" Grid.Column="1">
                                                    <TextBlock Text="{Binding Company.Name,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                                </Border>
                                            </Grid>

                                            <Border Style="{StaticResource cellBorder}" Grid.Row="1" Grid.Column="2">
                                                <TextBlock Text="{DynamicResource 4.8.2}" Style="{StaticResource cellStyle}" />
                                            </Border>
                                            <Border Style="{StaticResource cellBorder}" Grid.Row="1" Grid.Column="3">
                                                <TextBlock Text="{DynamicResource Label.Yes}" Style="{StaticResource cellStyle}"
                                                           Visibility="{Binding Company.IsNotDetermined,Converter={StaticResource boolToVisibilityConverter}}" />
                                            </Border>

                                            <ItemsControl ItemsSource="{Binding Founders,Mode=OneWay}" BorderThickness="0" Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="4"
                                                          Visibility="{Binding Founders,Converter={StaticResource nullOrEmptyToVisibilityConverter},Mode=OneWay}">
                                                <ItemsControl.ItemTemplate>
                                                    <DataTemplate>
                                                        <Grid u:GridHelpers.RowCount="6">
                                                            <Grid.ColumnDefinitions>
                                                                <ColumnDefinition Width="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Grid}, AncestorLevel=4}, Path=ColumnDefinitions[0].ActualWidth,Mode=OneWay}"/>
                                                                <ColumnDefinition Width="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Grid}, AncestorLevel=4}, Path=ColumnDefinitions[1].ActualWidth,Mode=OneWay}"/>
                                                                <ColumnDefinition Width="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Grid}, AncestorLevel=4}, Path=ColumnDefinitions[2].ActualWidth,Mode=OneWay}"/>
                                                                <ColumnDefinition Width="Auto"/>
                                                                <ColumnDefinition Width="*"/>
                                                            </Grid.ColumnDefinitions>
                                                            <Border Style="{StaticResource cellBorder}" Grid.RowSpan="6">
                                                                <TextBlock Text="4.9" Style="{StaticResource cellStyle}" TextAlignment="Center" />
                                                            </Border>
                                                            <Border Style="{StaticResource cellBorder}" Grid.Column="1" Grid.RowSpan="6">
                                                                <TextBlock Text="{DynamicResource 4.9}" Style="{StaticResource cellStyle}" />
                                                            </Border>
                                                            <Border Style="{StaticResource cellBorder}" Grid.Row="0" Grid.Column="2" Grid.RowSpan="2">
                                                                <TextBlock Text="{DynamicResource 4.9.1a}" Style="{StaticResource cellStyle}" />
                                                            </Border>
                                                            <Border Style="{StaticResource cellBorder}" Grid.Row="0" Grid.Column="3">
                                                                <TextBlock Text="{DynamicResource 4.9.1a-1}" Style="{StaticResource cellStyle}" />
                                                            </Border>
                                                            <Border Style="{StaticResource cellBorder}" Grid.Row="0" Grid.Column="4">
                                                                <TextBlock Text="{Binding CompanyOPF,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                                            </Border>

                                                            <Border Style="{StaticResource cellBorder}" Grid.Row="1" Grid.Column="3">
                                                                <TextBlock Text="{DynamicResource 4.9.1a-2}" Style="{StaticResource cellStyle}" />
                                                            </Border>
                                                            <Border Style="{StaticResource cellBorder}" Grid.Row="1" Grid.Column="4">
                                                                <TextBlock Text="{Binding CompanyName,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                                            </Border>

                                                            <Border Style="{StaticResource cellBorder}" Grid.Row="2" Grid.Column="2" Grid.RowSpan="3">
                                                                <TextBlock Text="{DynamicResource 4.9.1b}" Style="{StaticResource cellStyle}" />
                                                            </Border>
                                                            <Border Style="{StaticResource cellBorder}" Grid.Row="2" Grid.Column="3">
                                                                <TextBlock Text="{DynamicResource 4.9.1b-1}" Style="{StaticResource cellStyle}" />
                                                            </Border>
                                                            <Border Style="{StaticResource cellBorder}" Grid.Row="2" Grid.Column="4">
                                                                <TextBlock Text="{Binding Name.LastName,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                                            </Border>

                                                            <Border Style="{StaticResource cellBorder}" Grid.Row="3" Grid.Column="3">
                                                                <TextBlock Text="{DynamicResource 4.9.1b-2}" Style="{StaticResource cellStyle}" />
                                                            </Border>
                                                            <Border Style="{StaticResource cellBorder}" Grid.Row="3" Grid.Column="4">
                                                                <TextBlock Text="{Binding Name.FirstName,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                                            </Border>

                                                            <Border Style="{StaticResource cellBorder}" Grid.Row="4" Grid.Column="3">
                                                                <TextBlock Text="{DynamicResource 4.9.1b-3}" Style="{StaticResource cellStyle}" />
                                                            </Border>
                                                            <Border Style="{StaticResource cellBorder}" Grid.Row="4" Grid.Column="4">
                                                                <TextBlock Text="{Binding Name.MiddleName,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                                            </Border>

                                                            <Border Style="{StaticResource cellBorder}" Grid.Row="5" Grid.Column="2">
                                                                <TextBlock Text="{DynamicResource 4.9.2}" Style="{StaticResource cellStyle}" />
                                                            </Border>
                                                            <Border Style="{StaticResource cellBorder}" Grid.Row="5" Grid.Column="3" Grid.ColumnSpan="2">
                                                                <TextBlock Text="{Binding ResidenceCountry,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                                            </Border>
                                                        </Grid>
                                                    </DataTemplate>
                                                </ItemsControl.ItemTemplate>
                                            </ItemsControl>

                                            <Border Style="{StaticResource cellBorder}" Grid.Row="3" Grid.RowSpan="3">
                                                <TextBlock Text="4.10" Style="{StaticResource cellStyle}" TextAlignment="Center" />
                                            </Border>
                                            <Border Style="{StaticResource cellBorder}" Grid.Row="3" Grid.Column="1" Grid.RowSpan="3">
                                                <TextBlock Text="{DynamicResource 4.10}" Style="{StaticResource cellStyle}" />
                                            </Border>
                                            <Border Style="{StaticResource cellBorder}" Grid.Row="3" Grid.Column="2">
                                                <TextBlock Text="{DynamicResource 4.10.1}" Style="{StaticResource cellStyle}" />
                                            </Border>
                                            <Border Style="{StaticResource cellBorder}" Grid.Row="3" Grid.Column="3">
                                                <TextBlock Text="{Binding ChiefName.LastName,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                            </Border>

                                            <Border Style="{StaticResource cellBorder}" Grid.Row="4" Grid.Column="2">
                                                <TextBlock Text="{DynamicResource 4.10.2}" Style="{StaticResource cellStyle}" />
                                            </Border>
                                            <Border Style="{StaticResource cellBorder}" Grid.Row="4" Grid.Column="3">
                                                <TextBlock Text="{Binding ChiefName.FirstName,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                            </Border>

                                            <Border Style="{StaticResource cellBorder}" Grid.Row="5" Grid.Column="2">
                                                <TextBlock Text="{DynamicResource 4.10.3}" Style="{StaticResource cellStyle}" />
                                            </Border>
                                            <Border Style="{StaticResource cellBorder}" Grid.Row="5" Grid.Column="3">
                                                <TextBlock Text="{Binding ChiefName.MiddleName,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                            </Border>
                                        </Grid>

                                        <Border Style="{StaticResource cellBorder}" Grid.Row="15">
                                            <TextBlock Style="{StaticResource cellStyle}" Text="4.11" TextAlignment="Center"/>
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="15" Grid.Column="1">
                                            <TextBlock Text="{DynamicResource 4.11}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="15" Grid.Column="2" Grid.ColumnSpan="2">
                                            <TextBlock Text="{Binding RNN,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                        </Border>

                                        <Border Style="{StaticResource cellBorder}" Grid.Row="16">
                                            <TextBlock Style="{StaticResource cellStyle}" Text="4.12" TextAlignment="Center"/>
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="16" Grid.Column="1">
                                            <TextBlock Text="{DynamicResource 4.12}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="16" Grid.Column="2" Grid.ColumnSpan="2">
                                            <TextBlock Text="{Binding OKED,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                        </Border>

                                        <Border Style="{StaticResource cellBorder}" Grid.Row="17">
                                            <TextBlock Style="{StaticResource cellStyle}" Text="4.13" TextAlignment="Center"/>
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="17" Grid.Column="1">
                                            <TextBlock Text="{DynamicResource 4.13}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="17" Grid.Column="2" Grid.ColumnSpan="2">
                                            <TextBlock Text="{Binding IdentificationNumber,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                        </Border>

                                        <Grid u:GridHelpers.RowCount="9" Grid.Row="18" Grid.ColumnSpan="4">
                                            <Grid.Visibility>
                                                <MultiBinding Converter="{StaticResource comparisonToVisibilityConverter}" ConverterParameter="!=">
                                                    <Binding Path="TypeCode" Mode="OneWay"/>
                                                    <Binding>
                                                        <Binding.Source>
                                                            <system:Int64>1</system:Int64>
                                                        </Binding.Source>
                                                    </Binding>
                                                </MultiBinding>
                                            </Grid.Visibility>

                                            <Grid.ColumnDefinitions>
                                                <ColumnDefinition Width="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Grid}, AncestorLevel=3}, Path=ColumnDefinitions[0].ActualWidth,Mode=OneWay}"/>
                                                <ColumnDefinition Width="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Grid}, AncestorLevel=3}, Path=ColumnDefinitions[1].ActualWidth,Mode=OneWay}"/>
                                                <ColumnDefinition Width="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Grid}, AncestorLevel=3}, Path=ColumnDefinitions[2].ActualWidth,Mode=OneWay}"/>
                                                <ColumnDefinition Width="*"/>
                                            </Grid.ColumnDefinitions>

                                            <Border Style="{StaticResource cellBorder}" Grid.Row="0" Grid.RowSpan="2">
                                                <TextBlock Text="4.14" Style="{StaticResource cellStyle}" TextAlignment="Center" />
                                            </Border>
                                            <Border Style="{StaticResource cellBorder}" Grid.Row="0" Grid.Column="1" Grid.RowSpan="2">
                                                <TextBlock Text="{DynamicResource 4.14}" Style="{StaticResource cellStyle}" />
                                            </Border>
                                            <Border Style="{StaticResource cellBorder}" Grid.Row="0" Grid.Column="2">
                                                <TextBlock Text="{DynamicResource 4.14.1}" Style="{StaticResource cellStyle}" />
                                            </Border>
                                            <Grid u:GridHelpers.ColumnCount="2" u:GridHelpers.StarColumns="1" u:GridHelpers.RowCount="3"  Grid.Row="0" Grid.Column="3">
                                                <Border Style="{StaticResource cellBorder}" Grid.Row="0" Grid.Column="0">
                                                    <TextBlock Text="{DynamicResource 4.14.1-1}" Style="{StaticResource cellStyle}" />
                                                </Border>
                                                <Border Style="{StaticResource cellBorder}" Grid.Row="0" Grid.Column="1">
                                                    <TextBlock Text="{Binding ChiefName.LastName,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                                </Border>

                                                <Border Style="{StaticResource cellBorder}" Grid.Row="1" Grid.Column="0">
                                                    <TextBlock Text="{DynamicResource 4.14.1-2}" Style="{StaticResource cellStyle}" />
                                                </Border>
                                                <Border Style="{StaticResource cellBorder}" Grid.Row="1" Grid.Column="1">
                                                    <TextBlock Text="{Binding ChiefName.FirstName,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                                </Border>

                                                <Border Style="{StaticResource cellBorder}" Grid.Row="2" Grid.Column="0">
                                                    <TextBlock Text="{DynamicResource 4.14.1-3}" Style="{StaticResource cellStyle}" />
                                                </Border>
                                                <Border Style="{StaticResource cellBorder}" Grid.Row="2" Grid.Column="1">
                                                    <TextBlock Text="{Binding ChiefName.MiddleName,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                                </Border>
                                            </Grid>

                                            <Border Style="{StaticResource cellBorder}" Grid.Row="1" Grid.Column="2">
                                                <TextBlock Text="{DynamicResource 4.14.2}" Style="{StaticResource cellStyle}" />
                                            </Border>
                                            <Border Style="{StaticResource cellBorder}" Grid.Row="1" Grid.Column="3">
                                                <TextBlock Text="{DynamicResource Label.Yes}" Style="{StaticResource cellStyle}"
                                                       Visibility="{Binding ChiefNameIsNotDetermined,Converter={StaticResource boolToVisibilityConverter}}"/>
                                            </Border>

                                            <Border Style="{StaticResource cellBorder}" Grid.Row="2">
                                                <TextBlock Style="{StaticResource cellStyle}" Text="4.15" TextAlignment="Center"/>
                                            </Border>
                                            <Border Style="{StaticResource cellBorder}" Grid.Row="2" Grid.Column="1">
                                                <TextBlock Text="{DynamicResource 4.15}" Style="{StaticResource cellStyle}" />
                                            </Border>
                                            <Border Style="{StaticResource cellBorder}" Grid.Row="2" Grid.Column="2" Grid.ColumnSpan="2">
                                                <TextBlock Text="{Binding Document.DocumentName,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                            </Border>

                                            <Border Style="{StaticResource cellBorder}" Grid.Row="3" Grid.RowSpan="2" BorderThickness="1,0,0,0">
                                                <TextBlock Text="4.16" Style="{StaticResource cellStyle}" TextAlignment="Center" />
                                            </Border>
                                            <Border Style="{StaticResource cellBorder}" Grid.Row="3" Grid.Column="1" Grid.RowSpan="2" BorderThickness="1,0,0,0">
                                                <TextBlock Text="{DynamicResource 4.16}" Style="{StaticResource cellStyle}" />
                                            </Border>
                                            <Border Style="{StaticResource cellBorder}" Grid.Row="3" Grid.Column="2">
                                                <TextBlock Text="{DynamicResource 4.16.1}" Style="{StaticResource cellStyle}" />
                                            </Border>
                                            <Border Style="{StaticResource cellBorder}" Grid.Row="3" Grid.Column="3">
                                                <TextBlock Text="{Binding Document.Number,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                            </Border>

                                            <Border Style="{StaticResource cellBorder}" Grid.Row="4" Grid.Column="2">
                                                <TextBlock Text="{DynamicResource 4.16.2}" Style="{StaticResource cellStyle}" />
                                            </Border>
                                            <Border Style="{StaticResource cellBorder}" Grid.Row="4" Grid.Column="3">
                                                <TextBlock Text="{Binding Document.Series,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                            </Border>

                                            <Border Style="{StaticResource cellBorder}" Grid.Row="5">
                                                <TextBlock Style="{StaticResource cellStyle}" Text="4.17" TextAlignment="Center"/>
                                            </Border>
                                            <Border Style="{StaticResource cellBorder}" Grid.Row="5" Grid.Column="1">
                                                <TextBlock Text="{DynamicResource 4.17}" Style="{StaticResource cellStyle}" />
                                            </Border>
                                            <Border Style="{StaticResource cellBorder}" Grid.Row="5" Grid.Column="2" Grid.ColumnSpan="2">
                                                <TextBlock Text="{Binding Document.IssuedBy,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                            </Border>

                                            <Border Style="{StaticResource cellBorder}" Grid.Row="6">
                                                <TextBlock Style="{StaticResource cellStyle}" Text="4.18" TextAlignment="Center"/>
                                            </Border>
                                            <Border Style="{StaticResource cellBorder}" Grid.Row="6" Grid.Column="1">
                                                <TextBlock Text="{DynamicResource 4.18}" Style="{StaticResource cellStyle}" />
                                            </Border>
                                            <Border Style="{StaticResource cellBorder}" Grid.Row="6" Grid.Column="2" Grid.ColumnSpan="2">
                                                <TextBlock Text="{Binding Document.Date,Mode=OneWay,StringFormat='dd.MM.yyyy'}" Style="{StaticResource cellStyle}" />
                                            </Border>

                                            <Border Style="{StaticResource cellBorder}" Grid.Row="7">
                                                <TextBlock Style="{StaticResource cellStyle}" Text="4.19" TextAlignment="Center"/>
                                            </Border>
                                            <Border Style="{StaticResource cellBorder}" Grid.Row="7" Grid.Column="1">
                                                <TextBlock Text="{DynamicResource 4.19}" Style="{StaticResource cellStyle}" />
                                            </Border>
                                            <Border Style="{StaticResource cellBorder}" Grid.Row="7" Grid.Column="2" Grid.ColumnSpan="2">
                                                <TextBlock Text="{Binding Birthday,Mode=OneWay,StringFormat='dd.MM.yyyy'}" Style="{StaticResource cellStyle}" />
                                            </Border>

                                            <Border Style="{StaticResource cellBorder}" Grid.Row="8">
                                                <TextBlock Style="{StaticResource cellStyle}" Text="4.20" TextAlignment="Center"/>
                                            </Border>
                                            <Border Style="{StaticResource cellBorder}" Grid.Row="8" Grid.Column="1">
                                                <TextBlock Text="{DynamicResource 4.20}" Style="{StaticResource cellStyle}" />
                                            </Border>
                                            <Border Style="{StaticResource cellBorder}" Grid.Row="8" Grid.Column="2" Grid.ColumnSpan="2">
                                                <TextBlock Text="{Binding BirthPlace,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                            </Border>
                                        </Grid>

                                        <Border Style="{StaticResource cellBorder}" Grid.Row="19" Grid.RowSpan="8">
                                            <TextBlock Text="4.21" Style="{StaticResource cellStyle}" TextAlignment="Center" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="19" Grid.Column="1" Grid.RowSpan="8">
                                            <TextBlock Text="{DynamicResource 4.21}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="19" Grid.Column="2">
                                            <TextBlock Text="{DynamicResource 4.21.}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="19" Grid.Column="3">
                                            <TextBlock Text="{Binding AddressCountry,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                        </Border>

                                        <Border Style="{StaticResource cellBorder}" Grid.Row="20" Grid.Column="2">
                                            <TextBlock Text="{DynamicResource 4.21.1}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="20" Grid.Column="3">
                                            <TextBlock Text="{Binding Address.Area,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                        </Border>

                                        <Border Style="{StaticResource cellBorder}" Grid.Row="21" Grid.Column="2">
                                            <TextBlock Text="{DynamicResource 4.21.2}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="21" Grid.Column="3">
                                            <TextBlock Text="{Binding Address.District,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                        </Border>

                                        <Border Style="{StaticResource cellBorder}" Grid.Row="22" Grid.Column="2">
                                            <TextBlock Text="{DynamicResource 4.21.3}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="22" Grid.Column="3">
                                            <TextBlock Text="{Binding Address.City,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                        </Border>

                                        <Border Style="{StaticResource cellBorder}" Grid.Row="23" Grid.Column="2">
                                            <TextBlock Text="{DynamicResource 4.21.4}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="23" Grid.Column="3">
                                            <TextBlock Text="{Binding Address.Street,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                        </Border>

                                        <Border Style="{StaticResource cellBorder}" Grid.Row="24" Grid.Column="2">
                                            <TextBlock Text="{DynamicResource 4.21.5}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="24" Grid.Column="3">
                                            <TextBlock Text="{Binding Address.House,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                        </Border>

                                        <Border Style="{StaticResource cellBorder}" Grid.Row="25" Grid.Column="2">
                                            <TextBlock Text="{DynamicResource 4.21.6}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="25" Grid.Column="3">
                                            <TextBlock Text="{Binding Address.Office,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                        </Border>

                                        <Border Style="{StaticResource cellBorder}" Grid.Row="26" Grid.Column="2">
                                            <TextBlock Text="{DynamicResource 4.21.7}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="26" Grid.Column="3">
                                            <TextBlock Text="{Binding Address.Postcode,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                        </Border>

                                        <Border Style="{StaticResource cellBorder}" Grid.Row="27">
                                            <TextBlock Style="{StaticResource cellStyle}" Text="4.22" TextAlignment="Center"/>
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="27" Grid.Column="1">
                                            <TextBlock Text="{DynamicResource 4.22}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="27" Grid.Column="2" Grid.ColumnSpan="2">
                                            <TextBlock Text="{Binding Phone}" Style="{StaticResource cellStyle}" />
                                        </Border>

                                        <Border Style="{StaticResource cellBorder}" Grid.Row="28">
                                            <TextBlock Style="{StaticResource cellStyle}" Text="4.23" TextAlignment="Center"/>
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="28" Grid.Column="1">
                                            <TextBlock Text="{DynamicResource 4.23}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="28" Grid.Column="2" Grid.ColumnSpan="2">
                                            <TextBlock Text="{Binding Email}" Style="{StaticResource cellStyle}" />
                                        </Border>

                                        <Border Style="{StaticResource cellBorder}" Grid.Row="29" Grid.RowSpan="8">
                                            <TextBlock Text="4.24" Style="{StaticResource cellStyle}" TextAlignment="Center" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="29" Grid.Column="1" Grid.RowSpan="8">
                                            <TextBlock Text="{DynamicResource 4.24}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="29" Grid.Column="2">
                                            <TextBlock Text="{DynamicResource 4.24.}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="29" Grid.Column="3">
                                            <TextBlock Text="{Binding RealAddressCountry,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                        </Border>

                                        <Border Style="{StaticResource cellBorder}" Grid.Row="30" Grid.Column="2">
                                            <TextBlock Text="{DynamicResource 4.24.1}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="30" Grid.Column="3">
                                            <TextBlock Text="{Binding RealAddress.Area,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                        </Border>

                                        <Border Style="{StaticResource cellBorder}" Grid.Row="31" Grid.Column="2">
                                            <TextBlock Text="{DynamicResource 4.24.2}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="31" Grid.Column="3">
                                            <TextBlock Text="{Binding RealAddress.District,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                        </Border>

                                        <Border Style="{StaticResource cellBorder}" Grid.Row="32" Grid.Column="2">
                                            <TextBlock Text="{DynamicResource 4.24.3}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="32" Grid.Column="3">
                                            <TextBlock Text="{Binding RealAddress.City,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                        </Border>

                                        <Border Style="{StaticResource cellBorder}" Grid.Row="33" Grid.Column="2">
                                            <TextBlock Text="{DynamicResource 4.24.4}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="33" Grid.Column="3">
                                            <TextBlock Text="{Binding RealAddress.Street,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                        </Border>

                                        <Border Style="{StaticResource cellBorder}" Grid.Row="34" Grid.Column="2">
                                            <TextBlock Text="{DynamicResource 4.24.5}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="34" Grid.Column="3">
                                            <TextBlock Text="{Binding RealAddress.House,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                        </Border>

                                        <Border Style="{StaticResource cellBorder}" Grid.Row="35" Grid.Column="2">
                                            <TextBlock Text="{DynamicResource 4.24.6}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="35" Grid.Column="3">
                                            <TextBlock Text="{Binding RealAddress.Office,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                        </Border>

                                        <Border Style="{StaticResource cellBorder}" Grid.Row="36" Grid.Column="2">
                                            <TextBlock Text="{DynamicResource 4.24.7}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="36" Grid.Column="3">
                                            <TextBlock Text="{Binding RealAddress.Postcode,Mode=OneWay}" Style="{StaticResource cellStyle}" />
                                        </Border>

                                        <Border Style="{StaticResource cellBorder}" Grid.Row="37">
                                            <TextBlock Style="{StaticResource cellStyle}" Text="4.25" TextAlignment="Center"/>
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="37" Grid.Column="1">
                                            <TextBlock Text="{DynamicResource 4.25}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                        <Border Style="{StaticResource cellBorder}" Grid.Row="37" Grid.Column="2" Grid.ColumnSpan="2">
                                            <TextBlock Text="{Binding AdditionalInfo}" Style="{StaticResource cellStyle}" />
                                        </Border>
                                    </Grid>
                                </DataTemplate>
                            </ItemsControl.ItemTemplate>
                        </ItemsControl>
                    </Grid>
                </Border>
                <mwt:ClassicBorderDecorator Style="{StaticResource docInfoBorder}" Grid.Row="3">
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                        </Grid.RowDefinitions>

                        <TextBlock Style="{StaticResource docInfoStyle}" Grid.Row="0">
							<Run Text="{DynamicResource Label.Version}" />
							<Run Text="{Binding Version,Mode=OneWay}"/>
                        </TextBlock>
                        <TextBlock Style="{StaticResource docInfoStyle}" Grid.Row="1">
							<Run Text="{DynamicResource Label.DocumentId}" />
							<Run Text="{Binding DocumentId,Mode=OneWay}" />
                        </TextBlock>
                    </Grid>
                </mwt:ClassicBorderDecorator>
            </Grid>
        </ScrollViewer>
        <StackPanel Orientation="Horizontal" Grid.Row="5" Margin="10" HorizontalAlignment="Right">
            <Button Content="{DynamicResource Label.Print}" Style="{StaticResource documentActionStyle}" Margin="0" Command="{Binding PrintCommand}" CommandParameter="{Binding ElementName=content}" Visibility="{Binding IsEnabled,RelativeSource={RelativeSource Self},Converter={StaticResource boolToVisibilityConverter},Mode=OneWay}"/>
            <Button Content="{DynamicResource Label.Reject}" Style="{StaticResource documentActionStyle}" Command="{Binding RejectCommand}" Visibility="{Binding IsEnabled,RelativeSource={RelativeSource Self},Converter={StaticResource boolToVisibilityConverter},Mode=OneWay}"/>
            <Button Content="{DynamicResource Label.RequestInfo}" Style="{StaticResource documentActionStyle}" Command="{Binding RequestInfoCommand}" Visibility="{Binding IsEnabled,RelativeSource={RelativeSource Self},Converter={StaticResource boolToVisibilityConverter},Mode=OneWay}"/>
            <Button Content="{DynamicResource Label.Export}" Style="{StaticResource documentActionStyle}" Command="{Binding ExportCommand}" Visibility="{Binding IsEnabled,RelativeSource={RelativeSource Self},Converter={StaticResource boolToVisibilityConverter},Mode=OneWay}"/>
            <Button Content="{DynamicResource Label.Close}" Style="{StaticResource documentActionStyle}" Command="{Binding CloseCommand}" Visibility="{Binding IsEnabled,RelativeSource={RelativeSource Self},Converter={StaticResource boolToVisibilityConverter},Mode=OneWay}"/>
        </StackPanel>
    </Grid>
</base:BaseControl>
