Topics related to the Krypton Navigator.
Moderators: Phil Wright, Chris Porter
by Zup » Tue Mar 11, 2008 11:31 pm
I need to change the order of Navigator KryptonPages at Runtime.
For example: Make second Page to first Page, etc ...
How can i do this ?
-
Zup
-
- Posts: 36
- Joined: Fri Jun 15, 2007 3:05 am
- Location: Germany
by Phil Wright » Wed Mar 12, 2008 11:06 am
The only way to do this is to remove the page and then put it back again in the new place. So something like this to move the page at index 1 to index 0...
- Code: Select all
KryptonPage kp = navigator.Pages[1];
navigator.Pages.Remove(kp):
navigator.Pages.Insert(0, kp);
-
Phil Wright
- Site Admin
-
- Posts: 2720
- Joined: Thu Apr 13, 2006 2:55 pm
- Location: Melbourne, Australia
-
Return to Krypton Navigator
Who is online
Users browsing this forum: No registered users and 0 guests