M
MFRASER
How can I override the editor that populates a property in the propertygrid?
I want to have my property set by the FileDialog.
Here is a sample of my code.
[Editor("System.Windows.Forms.FileDialog",
"System.Drawing.Design.UITypeEditor")]
[Browsable(true)]
/// <summary>
/// Get XMLDataFile
/// </summary>
public string XMLDataFile
{
get{return @m_Path;}
set{setXMLPath(value);}
}
I want to have my property set by the FileDialog.
Here is a sample of my code.
[Editor("System.Windows.Forms.FileDialog",
"System.Drawing.Design.UITypeEditor")]
[Browsable(true)]
/// <summary>
/// Get XMLDataFile
/// </summary>
public string XMLDataFile
{
get{return @m_Path;}
set{setXMLPath(value);}
}