Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Name property
Message
From
07/10/2003 10:24:00
 
 
To
07/10/2003 09:26:09
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00835727
Message ID:
00835767
Views:
10
Wilson,

When you say that you can't access the Name property in code, do you just mean that it doesn't show up in Intellisense? I've seen a few controls that for some reason do not show all their properties in Intellisense, yet if you type it in anyway there's no compiler error and it works as expected. I forget which controls I've discovered that do this, but I *do* remember it being the .Text property. Try to type in Name even though it doesn't show in Intellisense and see if it compiles ok.

~~Bonnie

>I made a class (MyCollection) that implements an Ilist interface.
>
>I have class name MyClass, this will be the collection of objects.
>This class inherits the Component class in order to change its properties at design-time.
>
>I also have a component class that expose MyCollection as a property
>
>MyClass have a property named Value, so when i add a item at design-time through the properties window, in the collection editor, MyClass exposed a property named (Name). I did not add this property, but if i try to access that property by code i can't access it.
>
>and if i add a (Name) property to MyClass, in the collection editor at design-time i see two named properties.
>
>How can i have only one name property and also access it by code.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform