Have you tried the following attribute?

System.ComponentModel.Browsable(False)

On Oct 7, 3:36 am, Barfy the Wonder Camel <[EMAIL PROTECTED]> wrote:
> Working with VS2005, c#. I'm trying to create a custom control. I'm
> using the built-in collection editor to edit a collection of objects.
> I can prevent the collection editor from seeing private or public
> member variables using the [NonSerialized] attribute, but for
> properties with get/set methods, this attribute generates a compiler
> error. Is there another attribute for properties, or some other way to
> tell the collection editor to back off?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web 
Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/DotNetDevelopment

You may subscribe to group Feeds using a RSS Feed Reader to stay upto date 
using following url  

<a href="http://feeds.feedburner.com/DotNetDevelopment";> 
http://feeds.feedburner.com/DotNetDevelopment</a>
-~----------~----~----~----~------~----~------~--~---

Reply via email to