C
cannontrodder
Hi,
I've created a custom control yet when I add the attribute
ListStyle="astyle" to my declaration,
I get the error: "The 'ListStyle' property cannot be set
declaratively."
It shows up in the properties window in the designer though.
Any ideas what I need to do to allow me to actually set this?
<Bindable(True), _
Category("Appearance"), _
Description("The class for the list."), _
DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)>
_
Public Property ListStyle() As String
Get
Return _listStyle
End Get
Set(ByVal value As String)
_listStyle = value
End Set
End Property
I've created a custom control yet when I add the attribute
ListStyle="astyle" to my declaration,
I get the error: "The 'ListStyle' property cannot be set
declaratively."
It shows up in the properties window in the designer though.
Any ideas what I need to do to allow me to actually set this?
<Bindable(True), _
Category("Appearance"), _
Description("The class for the list."), _
DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)>
_
Public Property ListStyle() As String
Get
Return _listStyle
End Get
Set(ByVal value As String)
_listStyle = value
End Set
End Property