J
Justin.Feist
I'm trying to use the CodeDom to generate the <Editor(...)> property
attribute as shown below. I have no problem generating the property
itself, and in fact I can generate a <Description("")> attribute. But
I cannot seem to be able to get a handle on how to generate the Editor
attribute. Can anyone post some code to get me on the right track?
<Editor(GetType(System.Windows.Forms.Design.FolderNameEditor),
GetType(System.Drawing.Design.UITypeEditor))> _
Public Property MyProperty() As String
....
End Property
attribute as shown below. I have no problem generating the property
itself, and in fact I can generate a <Description("")> attribute. But
I cannot seem to be able to get a handle on how to generate the Editor
attribute. Can anyone post some code to get me on the right track?
<Editor(GetType(System.Windows.Forms.Design.FolderNameEditor),
GetType(System.Drawing.Design.UITypeEditor))> _
Public Property MyProperty() As String
....
End Property