Creating the Visual Studio Style Preferences / Style Dialog Box

I'm currently trying to improve the options dialog for a winforms application. I am currently using a tab control.

I would like to create a form / dialog for settings similar to Visual Studio. How it's done? I see a tree view, such as a control on the left, but what control they use to display each of the options pages is not a tab control. I would like to be able to create controls for each of the parameters during development.

Thanks.

+4
source share
1 answer

They look at me as UserControl s. I can’t say exactly how they implement it, but it would be simple enough to build a UserControl for each type of option and change the current control when changing the tree selection. In your designer, you just have to have a TreeView and a parent panel to host UserControl s. At run time, you must swap.

+2
source

All Articles