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

How to change the size of the Buttons

5 Answers 406 Views
PageView
This is a migrated thread and some comments may be shown as answers.
Roberto
Top achievements
Rank 1
Roberto asked on 14 Jun 2012, 03:31 PM
How  can i change the Height of the buttons in Strip view mode?

See the image

5 Answers, 1 is accepted

Sort by
0
Roberto
Top achievements
Rank 1
answered on 15 Jun 2012, 08:53 AM
i try this solution ...i find a post that explains how to resize the Headers of a PageView...But nothing change...Any solution?


  1. Select the page view you want to edit..
  2. In the property grid expand the ViewElement property.
  3. Expand the Header property of the ViewElement.
  4. Modify the MaxSize and Font properties of the Header to match your needs.

I try also in this way...

RadPalleView.Pages("PageName").Item.MinSize = New size(0, 50)
RadPalleView.Pages("PageName").Item.MaxSize = New size(0, 50)

but also this solution doesn't work

0
Boryana
Telerik team
answered on 19 Jun 2012, 07:28 AM
Hi Roberto,

Thank you for writing.

Typically, MaxSize and MinSize properties will fix the size, however, they will not take effect in this case. By default, the items of all RadPageViewPages have the same size (you are be change the sizing mode using the ItemSizeMode property). In this sense, if one of the images you have applied is slightly bigger than the rest, all items will be stretched to match the highest item. So, before everything else, check the size of your images and make sure they do not have a transparent stripe which makes them bigger than they appear to be.

Additionally, the ControlDefault theme applies 7 pixels padding to the top and the bottom of the PageView item. To remove the padding use the following approach:
Me.radPageViewPage1.Item.Padding = New Padding(4, 0, 4, 0)

I hope my answer helps. Let me know if you need further assistance. 

Kind regards,
Boryana
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
0
Roberto
Top achievements
Rank 1
answered on 22 Jun 2012, 09:56 AM
Thx for the reply, perfect

Now i have another question...my app is configurable...so i wont to hide some PageViewPage in some case ....
I found the proprety iscontentvisible....but this works only if PageView is in Explore Bar mode...there is another way to hide the PageviewPage ?

thx robert
0
Roberto
Top achievements
Rank 1
answered on 22 Jun 2012, 10:06 AM
Ok, nothing i answer the question by myself :D...

RadPalleView.Pages("RadPagePageName").Item.Visibility = Telerik.WinControls.ElementVisibility.Hidden
0
Boryana
Telerik team
answered on 26 Jun 2012, 12:24 PM
Hi Roberto,

I am glad you managed to find the answer on your own. Feel free to write back if you have further queries.

All the best,
Boryana
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Tags
PageView
Asked by
Roberto
Top achievements
Rank 1
Answers by
Roberto
Top achievements
Rank 1
Boryana
Telerik team
Share this question
or