Using ExplorerBar need to remove frame around the pages

2 posts, 0 answers
  1. John
    John avatar
    20 posts
    Member since:
    Nov 2011

    Posted 16 Oct 2012 Link to this post

    I using the RadPageView in ExplorerBar view and need to remove the white frame around each page. How do i do this. the padding is 0, the margins are o.

  2. Nikolay
    Nikolay avatar
    1805 posts

    Posted 17 Oct 2012 Link to this post

    Hello John,

    In order to remove the white frame, you actually need to set the Padding of the content area to 0. Here is how you can do that:

    RadPageViewExplorerBarElement b = (RadPageViewExplorerBarElement)this.radPageView1.ViewElement;
    foreach (RadPageViewPage page in this.radPageView1.Pages)
        RadPageViewContentAreaElement contentArea = b.GetContentAreaForItem(page.Item);
        contentArea.Padding = new Padding(0);

    I hope this helps.
    the Telerik team
    You’ve been asking for it and now it’s time for us to deliver. RadControls for WinForms Q3 2012 release is just around the corner. Sign up for a free webinar to see first all the latest enhancements.
Back to Top