passing xmldocument to uitypeeditor. When i access the property in runtime it is not updated and always is the initial value. However the property is updated each visit to the uitypeeditor and is the current updated xml. Going to bed.
[TypeConverter(
typeof(_menudataoverride))]
[Editor(
typeof(TextEditor), typeof(UITypeEditor))]
[Category("Data"),DefaultValue(""),Description("Menu Builder."),NotifyParentProperty(
true),RefreshProperties(RefreshProperties.Repaint)]
public XmlDocument MenuData
{
get
{
return xmlstring;
}
set
{
xmlstring =
value;
}
}