public EditorToolFactory FontName(Action<EditorDropDownItemBuilder> configurator)
        {
            var items = new List<DropDownListItem>();
            var builder = new EditorDropDownItemBuilder(items);

            configurator(builder);

            return ComboBox("fontName", items);
        }
Пример #2
0
        public EditorToolFactory FormatBlock(Action <EditorDropDownItemBuilder> configurator)
        {
            var items   = new List <DropDownListItem>();
            var builder = new EditorDropDownItemBuilder(items);

            configurator(builder);

            return(SelectBox("formatBlock", items));
        }
Пример #3
0
        public EditorToolFactory FontSize(Action <EditorDropDownItemBuilder> configurator)
        {
            var items   = new List <DropDownListItem>();
            var builder = new EditorDropDownItemBuilder(items);

            configurator(builder);

            return(ComboBox("fontSize", items));
        }
        public EditorToolFactory Styles(Action<EditorDropDownItemBuilder> configurator)
        {
            var items = new List<DropDownListItem>();

            var builder = new EditorDropDownItemBuilder(items);

            configurator(builder);

            return SelectBox("style", items);
        }