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