/// <summary> /// Initializes a new instance of the <see cref="ColorDataEditor"/> class.</summary> /// <param name="theme">The visual theme</param> public ColorDataEditor(DataEditorTheme theme) : base(theme) { }
protected override void Configure(out TreeControl treeControl, out TreeControlAdapter treeControlAdapter) { base.Configure(out treeControl, out treeControlAdapter); EditorTheme = new DataEditorTheme(treeControl.Font); }
/// <summary> /// Initializes a new instance of the <see cref="StringDataEditor"/> class.</summary> /// <param name="theme">The visual theme to use</param> public BoolDataEditor(DataEditorTheme theme) : base(theme) { }
/// <summary> /// Initializes a new instance of the <see cref="TreeView"/> class</summary> /// <param name="xmlFilePath">The XML file path of the data document to load</param> /// <param name="theme">The visual theme</param> public TreeView(string xmlFilePath, DataEditorTheme theme) { m_xmlDoc = XDocument.Load(xmlFilePath);// loads the hierarchical data using Linq to XML API m_dataEditorTheme = theme; }
/// <summary> /// Initializes a new instance of the <see cref="StringDataEditor"/> class.</summary> /// <param name="theme">The visual theme to use</param> public StringDataEditor(DataEditorTheme theme) : base(theme) { }
/// <summary> /// Initializes a new instance of the <see cref="DataEditor"/> class.</summary> /// <param name="theme">The visual theme</param> protected DataEditor(DataEditorTheme theme) { m_theme = theme; EditingMode = EditMode.None; }
/// <summary> /// Initializes a new instance of the <see cref="FloatDataEditor"/> class.</summary> /// <param name="theme">The visual theme to use</param> public FloatDataEditor(DataEditorTheme theme) : base(theme) { SliderWidth = theme.DefaultSliderWidth; Epsilon = 0.000001f; }