I have a user control with a public property, when I try to set the
attirbutes of the property as so:
<Localizable(True)> _
Public Property DisplayText() As String
Get
Return Me.DisplayTextLbl.Text
End Get
Set(ByVal value As String)
Me.DisplayTextLbl.Text = value
End Set
End Property
I get Type Localizable not defined, what am I missing?
Thanks.
JB - 29 Jul 2007 14:26 GMT
Never mind, it should just be:
System.ComponentModel.Localizable
Morten Wennevik [C# MVP] - 29 Jul 2007 14:55 GMT
> Never mind, it should just be:
>
> System.ComponentModel.Localizable
Just Localizable is fine provided you add Imports System.ComponentModel ([C#] using System.ComponentModel;)

Signature
Happy coding!
Morten Wennevik [C# MVP]