protected override TextBox CreateEditor()
		{
			FreeTextArea fta = new FreeTextArea();

			fta.EditorMode = editorMode;
			fta.AdditionalFormats = additionalFormats;
			fta.UseStylesSet = useStylesSet;

			return fta;
		}
Пример #2
0
        protected static Dictionary<string, Control> CreateEditorsForComplexContainersItem()
        {
            Dictionary<string, Control> editors = new Dictionary<string, Control>();

            editors["MyProperty0"] = new TextBox();
            editors["MyProperty1"] = new TextBox();
            editors["MyProperty2"] = new TextBox();
            editors["MyProperty3"] = new FreeTextArea();
            editors["MyProperty4"] = new CheckBox();

            ((TextBox)editors["MyProperty0"]).Text = "one";
            ((TextBox)editors["MyProperty1"]).Text = "two";
            ((TextBox)editors["MyProperty2"]).Text = "three";
            ((FreeTextArea)editors["MyProperty3"]).Text = "rock";
            ((CheckBox)editors["MyProperty4"]).Checked = true;

            return editors;
        }
Пример #3
0
        public void Should_Return_Tokens_For_Autocomplete()
        {
            var textbox = new FreeTextArea();


        }