how to change the height of a header

1 Answer 114 Views
PageView
Danny
Top achievements
Rank 1
Iron
Veteran
Iron
Danny asked on 07 Jul 2022, 04:02 PM

Greetings, you can indicate how to change the height of the headers or tabs of a radPageView, it is preferred at design time. if not possible by code.

 

I'm using Telerik Windows Forms 2022.1.222.40
Visual Studio 2022

1 Answer, 1 is accepted

Sort by
0
Maria
Telerik team
answered on 08 Jul 2022, 09:31 AM

Hello Danny, 

You can change the height of the headers or tabs of a radPageView by code. You can use the properties ItemSizeMode and ItemSize in the documentation. Here is the link: https://docs.telerik.com/devtools/winforms/controls/pageview/properties-methods-events

I am sending you a code snippet for example how you can change it.

this.radPageView1.ItemSizeMode = PageViewItemSizeMode.EqualSize;
this.radPageView1.ItemSize = new Size(80,150);

I hope this helps you.

Regards,
Maria
Progress Telerik

The Premier Dev Conference is back! 

Coming to you live from Progress360 in-person or on your own time, DevReach for all. Register Today.


Tags
PageView
Asked by
Danny
Top achievements
Rank 1
Iron
Veteran
Iron
Answers by
Maria
Telerik team
Share this question
or