PropertyGrid.EditSession.EditSession C# (CSharp) Method

EditSession() public method

public EditSession ( Gtk container, object instance, PropertyDescriptor property, IPropertyEditor currentEditor ) : System
container Gtk
instance object
property PropertyDescriptor
currentEditor IPropertyEditor
return System
        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;
        }