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); }
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)); }
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); }