oppss...ICustomTypeDescriptor convert my control to NonVisual?!

J

Julia

Hi,
After implementing ICustomTypeDescriptor on my UserControl When ever I drop
the control
it moved to the none visual area
Which properties or attributes should I add to my Descriptors collection in
order to
make my control Visual again?

Thanks in advance
 
D

Dmytro Lapshyn [MVP]

Hi Julia,

Add any known ActiveX control to the form and check out its properties.
Ignore those which belong to the ActiveX control itself. The rest is most
likely the set of properties you will have to implement (well, except the
Name one which is added by the designer itself).
 
J

Julia

Are you sure it is a property and not an attribute?

Thanks

Dmytro Lapshyn said:
Hi Julia,

Add any known ActiveX control to the form and check out its properties.
Ignore those which belong to the ActiveX control itself. The rest is most
likely the set of properties you will have to implement (well, except the
Name one which is added by the designer itself).

--
Sincerely,
Dmytro Lapshyn [Visual Developer - Visual C# MVP]


Julia said:
Hi,
After implementing ICustomTypeDescriptor on my UserControl When ever I
drop
the control
it moved to the none visual area
Which properties or attributes should I add to my Descriptors collection
in
order to
make my control Visual again?

Thanks in advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top