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
{
....
}
}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top