How to change the size of the Buttons

6 posts, 0 answers
  1. Roberto
    Roberto avatar
    7 posts
    Member since:
    Jan 2012

    Posted 14 Jun 2012 Link to this post

    How  can i change the Height of the buttons in Strip view mode?

    See the image
  2. Roberto
    Roberto avatar
    7 posts
    Member since:
    Jan 2012

    Posted 15 Jun 2012 Link to this post

    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

  3. UI for WinForms is Visual Studio 2017 Ready
  4. Boryana
    Admin
    Boryana avatar
    330 posts

    Posted 19 Jun 2012 Link to this post

    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 >>
  5. Roberto
    Roberto avatar
    7 posts
    Member since:
    Jan 2012

    Posted 22 Jun 2012 Link to this post

    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
  6. Roberto
    Roberto avatar
    7 posts
    Member since:
    Jan 2012

    Posted 22 Jun 2012 Link to this post

    Ok, nothing i answer the question by myself :D...

    RadPalleView.Pages("RadPagePageName").Item.Visibility = Telerik.WinControls.ElementVisibility.Hidden
  7. Boryana
    Admin
    Boryana avatar
    330 posts

    Posted 26 Jun 2012 Link to this post

    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 >>
Back to Top
UI for WinForms is Visual Studio 2017 Ready