Collapsing SubPage Items in RadPageView Navigation Mode with Hierarchy
Environment
Product Version | Product | Author |
---|---|---|
2023.3.1114 | RadPageView for WinForms | Dinko Krastev |
Description
When using RadPageView in Navigation Mode with Hierarchy, you may want to collapse all subpage items at Form Load. This tutorial explains how to achieve this in your WinForms application.
Solution
To collapse all subpage items in RadPageView Navigation Mode with Hierarchy, follow these steps:
- Add the following code snippet in the Form Load event:
- Run your application.
Now, at Form Load, all the subpage items in the RadPageView Navigation Mode with Hierarchy will be collapsed.
Notes
- Make sure to replace
radPageView1
with the name of your RadPageView control.