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
No downloads associated with this content

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

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