I have an abstract user control(baseModule) that has a property that I plan on using a bitwise comparison on to determine what export types are supported by that module. In the designer of a module derived from baseModule, I am presented with a combobox with the ability to just select a single value (Html, Xml, etc.) I would like to be presented with a drop-down checked listbox so I could select which values I want.
How can I accomplish this inside of VS2008? I've seen other properties support this. Please refer to the code below for a better explanation of what I mean in the poorly asked question above.
Public Class ExportTypes
Public Enum ExportType
Html = 1
Xml = 2
Xls = 4
Txt = 8
Pdf = 16
Rtf = 32
End Enum
End Class
Public Class baseModule
Private _SupportedExportTypes As ExportType = 0
Public Property SupportedExportTypes() As ExportType
Get
Return _SupportedExportTypes
End Get
Set(ByVal Value As ExportType)
_SupportedExportTypes = Value
End Set
End Property
End Class