Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

How can you obtain properity values of objects using the VS code objects

$
0
0
I am trying to create an extension to VS in which I can go through each form, identify the controls, and then find the property values such as height, width, color etc.  I can get down to the CodeVariable2 object, get the CodeTypeRef, and subsequently establish the control type OK by getting a list of the base classes and working through the list to establish the control type (Listbox, edit etc), (is there a better way?), but how can I get the property values of each object, so that I can use this information to generate new versions of the code using the information gained.

Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>