[MonoDevelop] Property Pad - Conditional sensitive property

José A. Salvador Vanaclocha joansava at gmail.com
Wed Apr 22 01:41:00 EDT 2009


Hi all,

I am developing a custom component (inherits from gtk.bin) and I would
like to add a pair of properties; i.e.:

class Foo :Gtk.Bin
{
 private bool prop1;
 public bool Prop1 {
   get {return prop1;}
   set {prop1 = value;}
}

 private string prop2;
 public string Prop2 {
   get {return prop2;}
   set {prop2 = value;}
 }
}

Later, I want that the Prop2 (at the property pad in monodevelop) be
sensitive if the prop1 is true.

How can I get this??

Regards.

-- 
José A. Salvador Vanaclocha


More information about the Monodevelop-list mailing list