D
David Thielen
Hi;
I think this is impossible. (C#, not VSTO.)
In my add-in, I pop up a form. In that form I have a PropertyGrid. For one
of the object properties in the PropertyGrid I gave it a TypeConverter. As
the TypeConverter as associated as an attribute, it's constructor has no
parameters.
In one of the TypeConverter methods, I need the Application object. Is there
any way to determine the Application object from inside my TypeConverter
derived class? It is inside the ConvertFrom() method so nothing about the
object it is an attribute of is passed into it.
I think this is impossible. (C#, not VSTO.)
In my add-in, I pop up a form. In that form I have a PropertyGrid. For one
of the object properties in the PropertyGrid I gave it a TypeConverter. As
the TypeConverter as associated as an attribute, it's constructor has no
parameters.
In one of the TypeConverter methods, I need the Application object. Is there
any way to determine the Application object from inside my TypeConverter
derived class? It is inside the ConvertFrom() method so nothing about the
object it is an attribute of is passed into it.