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

How to display a control's hierarchy as a string

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

Revisions


  

Compare Revision Minor Date Status Editor
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

License

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 | Mobile
Web03 | 2.8.140721.1 | Last Updated 27 Feb 2013
Article Copyright 2013 by Adam Zuckerman
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid