public object GetValue() { if (CurrentEditor == null) { throw new InvalidOperationException("Unable to get the value, because there is no current editor."); } return(CurrentEditor.GetValue()); }