Custom Control Design Time Property Selector

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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?
 
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
{
....
}
}
 
Back
Top