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

How can I customize the back stage item space?

1 Answer 53 Views
PageView
This is a migrated thread and some comments may be shown as answers.
Mergen
Top achievements
Rank 1
Mergen asked on 16 Oct 2012, 05:43 AM
Hi All,

In the backstage view mode, I would like to customize the space between the left side items. Do you know how to do that? For example, I want to set the space between item 1,2 and 3 to 0 and the space between item 3 and 4 to a large space. Also I would like to put a seperate line between the items do you know how to do that?

Thanks

1 Answer, 1 is accepted

Sort by
0
Ivan Todorov
Telerik team
answered on 18 Oct 2012, 02:25 PM
Hi Mergen,

Thank you for your question.

You can increase the spacing between the items by setting the Margin property of the items. The following code snippet demonstrates this:
public Form1()
{
    InitializeComponent();
    foreach (RadPageViewPage page in this.radPageView1.Pages)
    {
        page.Item.Margin = new Padding(0, 0, 0, 25);
    }
 
    this.radPageView1.Pages[this.radPageView1.Pages.Count - 2].Item.Margin = new Padding(0, 0, 0, 100);
}

I hope this will help you. Feel free to ask if you have any further questions.

Regards,
Ivan Todorov
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
Mergen
Top achievements
Rank 1
Answers by
Ivan Todorov
Telerik team
Share this question
or