private void btnPrint_Click(object sender, RoutedEventArgs e)
        {
            PrintDialog   pd       = new PrintDialog();
            PageMediaSize pageSize = new PageMediaSize(PageMediaSizeName.ISOA4);

            pd.PrintTicket.PageMediaSize   = pageSize;
            pd.PrintTicket.PageOrientation = System.Printing.PageOrientation.Landscape;
            if (pd.ShowDialog() == true)
            {
                FixedDocument document = PrintHelper.CreateSinglePageDocument(this);
                pd.PrintDocument(document.DocumentPaginator, "Catalouge Detail");
            }
            DialogResult = true;
        }