Changing RadPageView items height

2 posts, 0 answers
  1. Fernando
    Fernando avatar
    4 posts
    Member since:
    Mar 2012

    Posted 19 Mar 2012 Link to this post

    Hello, I can't figure out how to change the the page buttons height while in outlook mode.
    I've look through the all UI elements but I didn't manage to find anything. Please help me! :)

    Thank you.
  2. Stefan
    Stefan avatar
    2891 posts

    Posted 22 Mar 2012 Link to this post

    Hello Fernando,

    Thank you for writing.

    Please consider the following code snippet, which demonstrates how to set the height of the items in Outlook mode:
    RadPageViewOutlookElement el = radPageView1.ViewElement as RadPageViewOutlookElement;
    foreach (RadPageViewItem item in el.Items)
        //increase the item size
        item.MinSize = new Size(0, 50);
        //decrease the item size
        //item.MaxSize = new Size(0, 20);

    I hope that you find this information useful. Let me know if I can be of further assistance.
    the Telerik team
    RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
  3. DevCraft R3 2016 release webinar banner
Back to Top