public EditSession(Gtk.Widget container, object instance, PropertyDescriptor property, IPropertyEditor currentEditor) { this.property = property; this.obj = instance; this.container = container; this.currentEditor = currentEditor; currentEditor.Initialize (this); if (instance != null) currentEditor.Value = property.GetValue (instance); currentEditor.ValueChanged += OnValueChanged; }