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

  • Thread starter Thread starter Julia
  • Start date Start date
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
 
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).
 
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
 
Back
Top