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

Using ExplorerBar need to remove frame around the pages

1 Answer 66 Views
PageView
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 16 Oct 2012, 01:08 PM
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.

Thanks
John
jwilhelm@taisoftware.com

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 17 Oct 2012, 10:27 AM
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.
Regards,
Nikolay
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.
Tags
PageView
Asked by
John
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or