[MonoDevelop] show a string[] property from a custom widget in propertypad
"José A. Salvador Vanaclocha"
joansava at gmail.com
Wed Nov 17 12:37:11 EST 2010
Hi all,
I am going to be crazy soon.
For all day I've been googling looking for the answer, with no succed,
of course.
I am migrating a project from monodevelop 1.0 to monodevelop 2.2.1.
I have a custom widget with a string[] property which was displayed in
the monodevelop properties pad before(monodevelop 1.1). Now, with
monodevelop 2.2 it does not. However, any other "simple" type properties
(i.e. string) does right displayed.
Any ideas?
Jose Salvador.
PS -> A little code to ilustrate the custom widget below:
[System.ComponentModel.ToolboxItem(true)]
public partial class customwid : Gtk.Bin
{
public customwid ()
{
this.Build ();
}
private string[] properties = new string[0];
// THIS IS THE PROPERTY NOT DISPLAYED AT MONODEVELOP PROPERTY PAD
public string[] Properties {
get {return properties;}
set {properties = value;}
}
private string flatProp;
// THIS IS THE PROPERTY DISPLAYED AT MONODEVELOP PROPERTY PAD
public string FlatProp {
get {return flatProp;}
set {flatProp = value;}
}
}
More information about the Monodevelop-list
mailing list