How to Hide and show the radpageview backstage menu ? and how to place buttons to scroll the backstage menu?

10 posts, 0 answers
  1. muhammad
    muhammad avatar
    4 posts
    Member since:
    Jul 2018

    Posted 16 Oct 2018 Link to this post

    I want to hide and show the radpageview backstage menu when i press the button and it will get collapse and free up the space on screen and then same button press again it will show up the menu .. Second thing i wants two buttons when i press first one the menu will move down and when press second button the menu will move up and in last i want a back button on each page of radpageview which take to previous page.. I attach the sample of behavior from rad demo application. I need implementation as done in demo app. Thanks. 
  2. Dimitar
    Admin
    Dimitar avatar
    2818 posts

    Posted 17 Oct 2018 Link to this post

    Hi Muhammad,

    The following article shows how you can create the exact same layout: Collapsible menu from Demo application.

    Another approach is to use the new navigation view which has similar behavior. Detailed information is available here: Navigation View.

    I hope this will be useful. Let me know if you have additional questions.

    Regards,
    Dimitar
    Progress Telerik
    Get quickly onboard and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  3. ranees
    ranees avatar
    118 posts
    Member since:
    Nov 2018

    Posted 20 Nov Link to this post

    how to change RadPageView pages back color in mouse hover and after selection changed  ?

    Regards,

    Ranees

     

     

  4. Nadya
    Admin
    Nadya avatar
    118 posts

    Posted 20 Nov Link to this post

    Hello Ranees,

    In order to change the color of the RadPageViewItem for a specified visual state, you can use the SetThemeValueOverride method. Аccording to your requirement you should override the MouseOver and Selected states:

     this.radPageViewPage1.Item.SetThemeValueOverride(RadPageViewStripItem.BackColorProperty, Color.Green, "MouseOver");
     this.radPageViewPage1.Item.SetThemeValueOverride(RadPageViewStripItem.DrawFillProperty,true, "MouseOver");
     this.radPageViewPage1.Item.SetThemeValueOverride(RadPageViewStripItem.NumberOfColorsProperty, 1, "MouseOver");
    
    
     this.radPageViewPage1.Item.SetThemeValueOverride(RadPageViewStripItem.BackColorProperty, Color.Red, "Selected");
     this.radPageViewPage1.Item.SetThemeValueOverride(RadPageViewStripItem.DrawFillProperty, true, "Selected");
     this.radPageViewPage1.Item.SetThemeValueOverride(RadPageViewStripItem.NumberOfColorsProperty, 1, "Selected");
    

    You can refer to the following documentation article which demonstrates how to override the theme settings for a specific element state without losing the applied style for the rest of the states: https://docs.telerik.com/devtools/winforms/telerik-presentation-framework/override-theme-settings-at-run-time.

    I hope this helps. Should you have any other questions do not hesitate to ask.

    Regards,
    Nadya
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  5. ranees
    ranees avatar
    118 posts
    Member since:
    Nov 2018

    Posted 20 Nov in reply to Nadya Link to this post

    hii Nadya , i can't access these all...i am using Telerik 2015 version...

    Regards,

    Ranees

  6. Nadya
    Admin
    Nadya avatar
    118 posts

    Posted 21 Nov Link to this post

    Hello Ranees,

    Please note that the theme value override API functionality was introduced in the 2015.3.930 release of Telerik UI for WinForms suite. If you are using an older version you could not be able to use it. This is why I recommend you to upgrade to one of the latest version. Thus, you can benefit from all of the introduced improvements and new features that are available in the new versions. 

    However, I can suggest using the Visual Style Builder where you can modify the theme and change the styles of each specific state. Here are the steps you need to take to achieve this:

    1. Extract the predefined theme: Loading Predefined Themes
    2. Change the BackColorPropertyDrawFillProperty and NumberOfColorsProperty properties of the RadPageViewStripItem (see attached picture).
    3. Save and use the new theme in your application: Using custom themes

    I hope this information helps. Let me know if I can assist you further.

    Regards,
    Nadya
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  7. ranees
    ranees avatar
    118 posts
    Member since:
    Nov 2018

    Posted 25 Nov in reply to Nadya Link to this post

    hiii Nadya.... is it possible without using Custom Themes
  8. Nadya
    Admin
    Nadya avatar
    118 posts

    Posted 26 Nov Link to this post

    Hello Ranees,

    If you don't want to use the Visual Style Builder and apply a custom theme I recommend you to upgrade to one of the latest versions in order to make use of the first suggested solution via the SetThemeValueOverride method. By upgrading to the latest version you will benefit from all of the introduced improvements and new features that are available in Telerik UI for Winforms suite as well.

    Do not hesitate to contact us if you have other questions.

    Regards,
    Nadya
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  9. ranees
    ranees avatar
    118 posts
    Member since:
    Nov 2018

    Posted 26 Nov in reply to Nadya Link to this post

    hii Nadya...i have upgraded to the latest version..its worked well...thanks for your time

    Regards,

    Ranees

     

  10. Nadya
    Admin
    Nadya avatar
    118 posts

    Posted 26 Nov Link to this post

    Hello Ranees,

    I am glad that you achieved the desired result. If you have any other questions, please do not hesitate to contact us.

    Regards,
    Nadya
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top