Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Component Name
Message
From
30/10/2003 12:08:07
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Component Name
Miscellaneous
Thread ID:
00844574
Message ID:
00844574
Views:
48
I have a class that inherits from the component class

this componet can be placed in a form and it appear in the component tray of the form
Public MyClass
   inherits system.componentmodel.component

   public Value as string = ""
end class
When I place this component in the form, a name is assigned to the component, I also can change the name of the component at design-time in the property grid.

But in code this component does not have a Name property, so I added one, but how can i keep the component name syncronized with the name property i add.

At design time i can use the component Site.Name property to get the name, but at run-time the site property is nothing.

Any ideas?
Reply
Map
View

Click here to load this message in the networking platform