How can I customize the back stage item space?

2 posts, 0 answers
  1. Mergen
    Mergen avatar
    9 posts
    Member since:
    Feb 2012

    Posted 16 Oct 2012 Link to this post

    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
  2. Ivan Todorov
    Admin
    Ivan Todorov avatar
    688 posts

    Posted 18 Oct 2012 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top