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

Changing RadPageView items height

1 Answer 243 Views
PageView
This is a migrated thread and some comments may be shown as answers.
Fernando
Top achievements
Rank 1
Fernando asked on 19 Mar 2012, 06:55 PM
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.

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 22 Mar 2012, 02:43 PM
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.
 
Regards,
Stefan
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Tags
PageView
Asked by
Fernando
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or