[MonoDevelop] show a string[] property from a custom widget in propertypad

Lluis Sanchez Gual slluis.devel at gmail.com
Wed Nov 17 12:52:33 EST 2010


Can you please file a bug report? (monodevelop.com/bugs)

Thakns,

El dc 17 de 11 de 2010 a les 18:37 +0100, en/na "José A. Salvador
Vanaclocha" va escriure:
> 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;}
>         }
>     }
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list




More information about the Monodevelop-list mailing list