using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Media; using Tango.Editors; namespace Tango.Editors { /// /// /// Represents an configuration which can be saved or load from a file or stream. /// /// [Serializable] public class ElementEditorConfiguration : IConfiguration { /// /// Initializes a new instance of the class. /// public ElementEditorConfiguration() { ConfigurableType = typeof(ElementEditor); } /// /// Initializes a new instance of the class. /// /// The base configuration. internal ElementEditorConfiguration(ElementEditorConfiguration baseConfiguration) { baseConfiguration.MapTo(this); } /// /// Gets or sets the unique editor identifier. /// public String ID { get; set; } /// /// Gets or sets a value indicating whether the hosted element will be displayed within the editor. /// public bool ElementDetached { get; set; } /// /// Gets or sets a string representation of the editor's background. /// public String BackgroundBrushString { get; set; } /// /// Gets or sets the left position. /// public double Left { get; set; } /// /// Gets or sets the top position. /// public double Top { get; set; } /// /// Gets or sets the width. /// public double Width { get; set; } /// /// Gets or sets the height. /// public double Height { get; set; } /// /// Gets or sets the angle. /// public double Angle { get; set; } /// /// Gets or sets the configurable type. /// public Type ConfigurableType { get; set; } } }