PC Review


Reply
Thread Tools Rate Thread

DesignTimeVisible and TypeConverters

 
 
Adam Dockter
Guest
Posts: n/a
 
      11th Jan 2005
Does anyone know if it is possible to have both a DesignTimeVisible(false)
and a TypeConverter attribute together.

[ToolboxItem(false)
,TypeConverter( typeof( MyTypeConverter ))
,DesignTimeVisible(false)]
public class ExplorerGroup : Component
{...}

I use this object in a collection and don't want the objects to be
manipulated except by the collection editor. This is why I use the
DesignTimeVisible(false). I also want my object to use a constructor with a
parameter that is why I use the TypeConverter. When I set the
DesignTimeVisible to False the TypeConverter never gets called. Does anyone
know how to make this work??

Thanks for the help
- Adam dR.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
TypeConverters Jeroen van Langen Microsoft C# .NET 2 21st Feb 2011 04:45 AM
expandableObjectConvertors TypeConverters =?Utf-8?B?R3JlZyBDbGFyaw==?= Microsoft C# .NET 3 16th Jul 2007 08:52 AM
source for typeconverters herpers@wiso.uni-koeln.de Microsoft VB .NET 0 21st Nov 2006 02:24 PM
TypeConverters Martin Milan Microsoft C# .NET 0 25th May 2006 01:08 AM
TypeConverters Rick Voight Microsoft VB .NET 3 11th Sep 2003 05:42 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:23 AM.