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

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

9 Answers 485 Views
PageView
This is a migrated thread and some comments may be shown as answers.
muhammad
Top achievements
Rank 1
muhammad asked on 17 Oct 2018, 04:47 AM
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. 

9 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 17 Oct 2018, 11:40 AM
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.
0
Ras Ran
Top achievements
Rank 2
Iron
Veteran
Iron
answered on 20 Nov 2019, 11:58 AM

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

Regards,

Ranees

 

 

0
Nadya | Tech Support Engineer
Telerik team
answered on 20 Nov 2019, 02:53 PM

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.
0
Ras Ran
Top achievements
Rank 2
Iron
Veteran
Iron
answered on 21 Nov 2019, 05:02 AM

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

Regards,

Ranees

0
Nadya | Tech Support Engineer
Telerik team
answered on 22 Nov 2019, 05:47 AM

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.
0
Ras Ran
Top achievements
Rank 2
Iron
Veteran
Iron
answered on 25 Nov 2019, 06:54 AM
hiii Nadya.... is it possible without using Custom Themes
0
Nadya | Tech Support Engineer
Telerik team
answered on 26 Nov 2019, 09:02 AM

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.
0
Ras Ran
Top achievements
Rank 2
Iron
Veteran
Iron
answered on 26 Nov 2019, 12:15 PM

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

Regards,

Ranees

 

0
Nadya | Tech Support Engineer
Telerik team
answered on 26 Nov 2019, 03:35 PM

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.
Tags
PageView
Asked by
muhammad
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Ras Ran
Top achievements
Rank 2
Iron
Veteran
Iron
Nadya | Tech Support Engineer
Telerik team
Share this question
or