How can i change the Height of the buttons in Strip view mode?
See the image
See the image
5 Answers, 1 is accepted
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?
- Select the page view you want to edit..
- In the property grid expand the ViewElement property.
- Expand the Header property of the ViewElement.
- 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
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:
I hope my answer helps. Let me know if you need further assistance.
Kind regards,
Boryana
the Telerik team
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
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
RadPalleView.Pages("RadPagePageName").Item.Visibility = Telerik.WinControls.ElementVisibility.Hidden
0
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
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 >>