Topics related to the Krypton Docking.
Moderators: Phil Wright, Chris Porter
by Xplosiv » Tue Oct 20, 2009 9:47 pm
Hi Phil,
Would it not be easier to make a "custom user control" called KryptonPage.vb or something that is basically a Krypton Page as a user control. So that the properties of the page could be set in the designer and not have to be hard coded?
Xplosiv
-
Xplosiv
-
- Posts: 126
- Joined: Mon Jun 02, 2008 9:13 am
by Phil Wright » Wed Oct 21, 2009 10:59 am
Setting page properties at design time is certainly hard and likely an issue if you have many different pages you want to setup. You could add a Navigator to a temporary Form and then add pages to that navigator. That would allow you to then select the different pages in the navigator and modify them using the properties pane. Then at runtime you remove the pages from the navigator and add them as docking page as needed.
-
Phil Wright
- Site Admin
-
- Posts: 2720
- Joined: Thu Apr 13, 2006 2:55 pm
- Location: Melbourne, Australia
-
Return to Krypton Docking
Who is online
Users browsing this forum: No registered users and 1 guest