| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 | <UserControl x:Class="InABox.DynamicGrid.PDFEditorControl"             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:syncfusion="clr-namespace:Syncfusion.Windows.PdfViewer;assembly=Syncfusion.PdfViewer.WPF"             mc:Ignorable="d"             d:DesignHeight="450" d:DesignWidth="800">    <Grid>        <Grid.ColumnDefinitions>            <ColumnDefinition Width="*" />            <ColumnDefinition Width="44" x:Name="PDFButtonStack" />        </Grid.ColumnDefinitions>        <Grid.RowDefinitions>            <RowDefinition Height="*" />            <RowDefinition Height="Auto" />        </Grid.RowDefinitions>        <Border x:Name="PDFBorder" BorderBrush="DarkGray" BorderThickness="0.75" Margin="0,0,0,0" Grid.Column="0"                Grid.Row="0" Grid.RowSpan="2">            <syncfusion:PdfDocumentView x:Name="PdfViewer" Background="WhiteSmoke" BorderThickness="0"                                        CursorMode="HandTool" RenderingEngine="Pdfium" />        </Border>        <StackPanel Orientation="Vertical" Grid.Row="0" Grid.Column="1" Background="WhiteSmoke" Margin="4,0,0,0">            <Button x:Name="PdfPrint" Click="PdfPrint_Click" Margin="0,0,0,15" Height="40" Width="40"                    Visibility="Collapsed">                <Image Source="pack://application:,,,/InABox.Wpf;component/Resources/print.png" />            </Button>            <Button x:Name="PdfSave" Click="PdfSave_Click" Margin="0,0,0,15" Height="40" Width="40"                    Visibility="Collapsed">                <Image Source="pack://application:,,,/InABox.Wpf;component/Resources/disk.png" />            </Button>            <Button x:Name="PdfZoomIn" Click="PdfZoomIn_Click" Margin="0,0,0,2" Height="40" Width="40">                <Image Source="pack://application:,,,/InABox.Wpf;component/Resources/zoomin.png" />            </Button>            <Button x:Name="PdfZoomWidth" Click="PdfZoomWidth_Click" Margin="0,0,0,2" Height="40" Width="40">                <Image Source="pack://application:,,,/InABox.Wpf;component/Resources/pagewidth.png" />            </Button>            <Button x:Name="PdfZoomPage" Click="PdfZoomPage_Click" Margin="0,0,0,2" Height="40" Width="40">                <Image Source="pack://application:,,,/InABox.Wpf;component/Resources/fullpage.png" />            </Button>            <Button x:Name="PdfZoomOut" Click="PdfZoomOut_Click" Margin="0,0,0,15" Height="40" Width="40">                <Image Source="pack://application:,,,/InABox.Wpf;component/Resources/zoomout.png" />            </Button>            <Button x:Name="PdfColor" Click="PdfColor_Click" Margin="0,0,0,2" Height="40" Width="40">                <Image x:Name="PdfColorImage" Source="pack://application:,,,/InABox.Wpf;component/Resources/palette.png" />            </Button>            <Button x:Name="PdfSize" Click="PdfSize_Click" Margin="0,0,0,15" Height="40" Width="40">                <Image x:Name="PdfSizeImage" Source="pack://application:,,,/InABox.Wpf;component/Resources/fontsize.png" />            </Button>            <Button x:Name="PdfNone" Click="PdfNone_Click" Margin="0,0,0,15" Height="40" Width="40">                <Image x:Name="PdfNoneImage" Source="pack://application:,,,/InABox.Wpf;component/Resources/hand.png" />            </Button>            <Button x:Name="PdfInk" Click="PdfInk_Click" Margin="0,0,0,2" Height="40" Width="40" Visibility="Collapsed">                <Image x:Name="PdfInkImage" Source="pack://application:,,,/InABox.Wpf;component/Resources/draw.png" />            </Button>            <Button x:Name="PdfLine" Click="PdfLine_Click" Margin="0,0,0,2" Height="40" Width="40">                <Image x:Name="PdfLineImage" Source="pack://application:,,,/InABox.Wpf;component/Resources/line.png" />            </Button>            <Button x:Name="PdfRectangle" Click="PdfRectangle_Click" Margin="0,0,0,2" Height="40" Width="40">                <Image x:Name="PdfRectangleImage" Source="pack://application:,,,/InABox.Wpf;component/Resources/square.png" />            </Button>            <Button x:Name="PdfCircle" Click="PdfCircle_Click" Margin="0,0,0,2" Height="40" Width="40">                <Image x:Name="PdfCircleImage" Source="pack://application:,,,/InABox.Wpf;component/Resources/circle.png" />            </Button>            <Button x:Name="PdfFreeText" Click="PdfFreeText_Click" Margin="0,0,0,10" Height="40" Width="40">                <Image x:Name="PdfFreeTextImage" Source="pack://application:,,,/InABox.Wpf;component/Resources/text.png" />            </Button>            <Button x:Name="PDFOKStamp" Click="PdfOKStamp_Click" Margin="0,0,0,2" Height="40" Width="40"                    Visibility="Collapsed">                <Image x:Name="PdfOKImage" Source="pack://application:,,,/InABox.Wpf;component/Resources/tick.png" />            </Button>            <Button x:Name="PDFWarningStamp" Click="PdfWarningStamp_Click" Margin="0,0,0,2" Height="40" Width="40"                    Visibility="Collapsed">                <Image x:Name="PdfWarningImage" Source="pack://application:,,,/InABox.Wpf;component/Resources/warning.png" />            </Button>            <Button x:Name="PDFErrorStamp" Click="PdfErrorStamp_Click" Margin="0,0,0,2" Height="40" Width="40"                    Visibility="Collapsed">                <Image x:Name="PdfErrorImage" Source="pack://application:,,,/InABox.Wpf;component/Resources/delete.png" />            </Button>        </StackPanel>        <Button x:Name="RefreshPDF" Click="RefreshPDF_Click" Margin="4,0,0,0" Height="40" Width="40" Grid.Column="1"                Grid.Row="1">            <Image x:Name="RefreshPDFImage" Source="pack://application:,,,/InABox.Wpf;component/Resources/refresh.png" />        </Button>    </Grid></UserControl>
 |