Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DefaultValue
Message
From
20/02/2003 18:00:23
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
DefaultValue
Miscellaneous
Thread ID:
00755843
Message ID:
00755843
Views:
28
I made a window control that inherit a TextBox control, i shadow a property of the control and set a defaultvalue for the property, but whe i place an instance of the control the property does not set to the default, why?

the type of the property is an enum type, i wrote something like this

_
public shadow property MyProp () as MyEnum
get
return MyVar
end get
set(byval value as MyEnum)
MyVar = Value
end set
end property

the way i made it work was setting its property in the new event of the control class.
Next
Reply
Map
View

Click here to load this message in the networking platform