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

            configurator(builder);

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

            configurator(builder);

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

            var builder = new EditorDropDownItemBuilder(items);

            configurator(builder);

            return(SelectBox("Style", items));
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 6
0
        public EditorToolFactory Styles(Action<EditorDropDownItemBuilder> configurator)
        {
            var items = new List<DropDownItem>();

            var builder = new EditorDropDownItemBuilder(items);

            configurator(builder);

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

            var builder = new EditorDropDownItemBuilder(items);

            configurator(builder);

            return DropDown("FormatBlock", items);
        }