Inheritance: IHideObjectMembers
Beispiel #1
0
        public EditorToolFactory FontName(Action <EditorDropDownItemBuilder> configurator)
        {
            var items   = new List <DropDownItem>();
            var builder = new EditorDropDownItemBuilder(items);

            configurator(builder);

            return(ComboBox("FontName", items));
        }
        public EditorToolFactory FontName(Action<EditorDropDownItemBuilder> configurator)
        {
            var items = new List<DropDownItem>();
            var builder = new EditorDropDownItemBuilder(items);

            configurator(builder);

            return ComboBox("FontName", items);
        }
Beispiel #3
0
        public EditorToolFactory Styles(Action <EditorDropDownItemBuilder> configurator)
        {
            var items = new List <DropDownItem>();

            var builder = new EditorDropDownItemBuilder(items);

            configurator(builder);

            return(SelectBox("Style", items));
        }
Beispiel #4
0
        public EditorToolFactory FormatBlock(Action <EditorDropDownItemBuilder> configurator)
        {
            var items = new List <DropDownItem>();

            var builder = new EditorDropDownItemBuilder(items);

            configurator(builder);

            return(DropDown("FormatBlock", items));
        }
        public EditorDropDownItemsBuilderTests()
        {
            container = new List<DropDownItem>();

            builder = new EditorDropDownItemBuilder(container);
        }
        public EditorToolFactory Styles(Action<EditorDropDownItemBuilder> configurator)
        {
            var items = new List<DropDownItem>();

            var builder = new EditorDropDownItemBuilder(items);

            configurator(builder);

            return SelectBox("Style", items);
        }
        public EditorToolFactory FormatBlock(Action<EditorDropDownItemBuilder> configurator)
        {
            var items = new List<DropDownItem>();

            var builder = new EditorDropDownItemBuilder(items);

            configurator(builder);

            return DropDown("FormatBlock", items);
        }