This is a migrated thread and some comments may be shown as answers.

Hide pdfviewer thumbnail Border

6 Answers 279 Views
PdfViewer and PdfViewerNavigator
This is a migrated thread and some comments may be shown as answers.
Manuel
Top achievements
Rank 1
Manuel asked on 03 Jul 2015, 08:24 AM

Hello :)

is it possible to hide this border (see picture)?

 

Thank you in Advance

6 Answers, 1 is accepted

Sort by
0
Ralitsa
Telerik team
answered on 06 Jul 2015, 08:44 AM
Hi Manuel,

Thank you for contacting us. 

If I understand correctly you want to hide the size grip between the thumbnails and  the pdf viewer. You can refer to the following code: 
PdfSizeGripElement element = this.radPdfViewer1.ContainerElement.Children[1] as PdfSizeGripElement;
element.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;

In the attachments you can find an image which demonstrates the hidden size grip. 

If you want to hide the thumbnail panel, you can set the EnableThumbnail property to false
this.radPdfViewer1.EnableThumbnails = false;

Hope this will help you. Let me know if you have any other questions.

Regards,
Ralitsa
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Manuel
Top achievements
Rank 1
answered on 06 Jul 2015, 09:40 AM
Thank you very much, but no i meant the hole panel, sorry i wrote border instead of panel.

Is it possible to hide this panel?
0
Accepted
Ralitsa
Telerik team
answered on 06 Jul 2015, 11:02 AM
Hi Manuel,

Thank you for your reply. 

If you want to hide the thumbnails, you need to set the EnableThumbnail property to false:
this.radPdfViewer1.EnableThumbnails = false;

Should you have further questions, I would be glad to help.

Regards,
Ralitsa
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Manuel
Top achievements
Rank 1
answered on 06 Jul 2015, 11:04 AM
Perfect ;)
Thank you very much ;)
0
Emdadul
Top achievements
Rank 1
answered on 27 Sep 2016, 10:50 AM
Hi Ralitsa,
Can I hide entire left side panel. So only the PDF file will visible. I don't want any left side bar. I am using PdfViewer version 2014.*
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 27 Sep 2016, 01:09 PM
Hello Emdadul,

Thank you for writing.  

You can find below a sample code snippet demonstrating how to hide the thumbnails for versions that don't have the EnableThumbnail property yet:
public Form1()
{
    InitializeComponent();
 
    radPdfViewer1.ShowThubnails();
    radPdfViewer1.ThumbnailListWidth = 0;
}

I hope this information helps. Should you have further questions I would be glad to help.

Regards,
Dess
Telerik by Progress
Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
Tags
PdfViewer and PdfViewerNavigator
Asked by
Manuel
Top achievements
Rank 1
Answers by
Ralitsa
Telerik team
Manuel
Top achievements
Rank 1
Emdadul
Top achievements
Rank 1
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or