private void RemoveOutput(object obj) { var item = obj as ConfigItem; if (item != null) { OutputItems.Remove(item); } }