Using Reflection to find a component by name

Aaron Scribner <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.advanced
Message-ID <[email protected]>
I am a bit stumped on this one. Either I am not digging deep enough or not
interpreting what I have in front of me correctly.

 

I have the following ribbon bar and would like to find this component in the
assembly by name.

 

<igRibbon:XamRibbon x:Name="AeficidiumRibbon" DockPanel.Dock="Top"/>

 

I know how to grab all of the types and go through them checking for custom
attributes. I simply cannot figure out how to go through the entire assembly
and find a component by its name.

 

Any suggestions are greatly appreciated.

 

Thanks,

 

Aaron Scribner

Sr. Software Engineer

Allflex USA Inc.  

972.456.3686


===================================
View archives and manage your subscription(s) at http://peach.ease.lsoft.com/archives
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.