While a file name is not a native type, we can use the .NET framework Editor attribute to tell the framework where to find the editor for the file name type.
<Category("Storage"), _ Description("Where to store configuration"), _ Editor(GetType(System.Windows.Forms.Design.FileNameEditor), _ GetType(UITypeEditor))>_ Public Property ConfigFile() As String
Importing Editor Namespaces
Before we get into the type editor, I want to give you some information that will save you quite a bit of time when you’re programming with the .NET Framework. Because FileNameEditor lives in the System. Windows.Forms.Design namespace, you might think that simply importing the Windows.System.Forms namespace will do the job. Always keep in ...