PropertyGrid.EditSession.EditSession C# (CSharp) 메소드

EditSession() 공개 메소드

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