modularbeing
Regular
- Joined
- Jan 8, 2004
- Messages
- 63
I created a usercontrol with 3 nested classes inside it and inside the third class I have a public property. I am able to access public variables in the base class but I cannot access public variables or public properties inside the nested classes. below is how I have them structured..
thanks for your input!
Code:
Public Class NameGroup
Inherits System.Web.UI.UserControl
Public MustInherit Class Validators
Public MustInherit Class FirstName
Public MustInherit Class RequiredField
Inherits NameGroup
Public Property Enabled() As Boolean
Get
Enabled = Me.valReqFName.Enabled()
End Get
Set(ByVal Value As Boolean)
Me.valReqFName.Enabled = Value
End Set
End Property
End Class
End Class
End Class
End Class
thanks for your input!