<UserControl
             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:dxp="http://schemas.devexpress.com/winfx/2008/xaml/printing" x:Class="ucVisualizadorInformes" 
             xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors"
    
             xmlns:local="clr-namespace:tsWPF"
             mc:Ignorable="d" 
             d:DesignHeight="1000" d:DesignWidth="1000">
    <Grid >
        
        <local:tsDocumentPreviewControl  x:Name="Visualizador" x:FieldModifier="public" CommandBarStyle="Ribbon"   >           
        </local:tsDocumentPreviewControl>        
    </Grid>
    <UserControl.Resources>
        <DataTemplate x:Key="pageFooterTemplate">
            <dxe:TextEdit dxp:ExportSettings.TargetType="PageNumber"
                          dxp:PageNumberExportSettings.Kind="NumberOfTotal"
                          dxp:PageNumberExportSettings.Format="{}Página {0} / {1}"
                          FontSize="12"
                          FontFamily="Arial"
                          IsPrintingMode="True"
                          HorizontalContentAlignment="Right"
                          Width="{Binding UsablePageWidth}"/>
        </DataTemplate>
        <DataTemplate x:Key="pageHeaderTemplate">
            <Grid Margin="0,10,0,10" Width="{Binding UsablePageWidth}">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition/>
                    <ColumnDefinition Width="Auto"/>
                </Grid.ColumnDefinitions>
                <dxe:TextEdit IsPrintingMode="True" 
                         FontSize="18" FontFamily="Arial" FontWeight="Bold"
                          HorizontalContentAlignment="Left"                         
                            EditValue="{Binding Path=Content.CabeceraImpresion}"/>
                <dxe:TextEdit IsPrintingMode="True" Grid.Column="1" 
                              EditValue="{Binding Path=Content.ReportDate, Mode=OneWay}"/>
            </Grid>

        </DataTemplate>
    </UserControl.Resources>
</UserControl>
