using System; namespace umbraco.interfaces { /// /// The IDataEditor is part of the IDataType interface for creating new data types in the umbraco backoffice. /// The IDataEditor represents the editing UI for the Data Type. /// public interface IDataEditor { /// /// Saves this instance. /// void Save(); /// /// Gets a value indicating whether a label is shown /// /// true if [show label]; otherwise, false. bool ShowLabel {get;} /// /// Gets a value indicating whether the editor should be treated as a rich text editor. /// /// /// true if [treat as rich text editor]; otherwise, false. /// bool TreatAsRichTextEditor {get;} /// /// Gets the editor control /// /// The editor. System.Web.UI.Control Editor{get;} } }