Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Tagged as

How to display a control's hierarchy as a string

, 26 Feb 2013 CPOL
I created an extension method that allows my program to find all of a control's parents' names. It returns a string separated overrideable delimiter (::).  This code is targeted for .NET 4 Client, but should also work in .NET 3.5.Module WinformControlExtensions  '''   ''' Find all of the control's



Compare Revision Minor Date Status Editor
4 - publicly available Yes 27-Feb-13 0:40 Available Adam Zuckerman
The article has been approved
3 No 26-Feb-13 20:36 Pending Adam Zuckerman
The code did not import correctly. I fixed it.
2 No 19-Feb-13 16:49 Available Sean Ewington
Updates in content. 235 changes had been made.
1 No 19-Feb-13 16:22 Draft Adam Zuckerman


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Adam Zuckerman
Software Developer (Senior)
United States United States
Long time software engineer who rambles occasionally about coding, best practices, and other random things.
Follow on   Twitter   Google+

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.141220.1 | Last Updated 27 Feb 2013
Article Copyright 2013 by Adam Zuckerman
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid