I'm creating a custom control with design time support, i wish to create the
a property which is xml document and let the deisgner to use the property
selector in VS.Net to browse to the xml file and attach it to the custom
control, how can i do that?

Re: Custom Control Design Time Property Selector by Stoitcho

Stoitcho
Thu May 11 09:23:31 CDT 2006

Coco,

I'm not sure I completely understand your question, but if you want an
ellipsis button that brings up a file open dialog there is a code how to do
it

[Editor(typeof(System.Windows.Forms.Design.FileNameEditor),
typeof(System.Drawing.Design.UITypeEditor))]
public string FileName
{
get
{
.....
}
set
{
....
}
}


--
HTH
Stoitcho Goutsev (100)

"Coco" <Coco@discussions.microsoft.com> wrote in message
news:C3959FD5-D454-4EBD-9D5E-A2AF1ACF3DA0@microsoft.com...
> I'm creating a custom control with design time support, i wish to create
> the
> a property which is xml document and let the deisgner to use the property
> selector in VS.Net to browse to the xml file and attach it to the custom
> control, how can i do that?