public object GetPropertyGridObject() { if (_mainForm.ActivePane == null) return null; return _mainForm.ActivePane.SelectedPropertyGridObject; }