I have a custom control with properties I want displayed in the property grid. This has gone really well so far. I want to implement a property with a dropdown, listing all other controls on the client form. If I do the following;
<CategoryAttribute("Data Objects"), DefaultValueAttribute(""), _
DescriptionAttribute("Select a related control from the list")> _
Public Property ControlsOnForm() As String()
Get
Return _alCtrs
End Get
Set(ByVal Value As String())
_alCtrs = Value
End Set
End Property

Private Sub GetControlsOnForm()
Dim i As Int16 = 0
Dim alCtrs() As String
For Each ctr As Control In Me.ParentForm.Controls
ReDim Preserve alCtrs(i)
alCtrs(i) = ctr.Name
i += 1
Next
ControlsOnForm = alCtrs
End Sub

I get a String Collection Editor if I press the ellipse button. Is there a way I can change it so that I get a dropdown list instead?

Thanks