I have a user control built in VB.Net 2.0 with a LabelText string property. When I set the property at design time, I would like to reflect the property in the design view.
I've looked at a couple examples, but I must be missing something. Here's what I have for the property so far:
Public Property LabelText() As String
Get
Return Me.lblLabelText.Text
End Get
Set(ByVal value As String)
Me.lblLabelText.Text = value
End Set
End Property
(PS. I see that the defective text editor is still in use on this site. I had to reformat my code.)
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.