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

VSPackage: Is it possible to use TypeConverter in option pages?

$
0
0

Hi.

I am using the OptionsPage mechanism of Visual Studio in order to display options for my package. It works fine. However, there is a minor problem.

I am using the type of options page that displays a property grid, not custom UserControl. In this property grid all properties from my class are displayed. This is all fine. The problem is that I want to use a TypeConverter for some of the properties. I used the TypeConverterAttribute on a property but it does not appear to be used. I am using my own TypeConvertor class (inherits directly from TypeConverter). I am not very familiar with type converters but I followed an example and it seems pretty simple.

Am I doing something wrong or is this just not supported?

Thanks.


Viewing all articles
Browse latest Browse all 4410

Trending Articles



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