public static IItemWriter <Input> InputTime(this IAnyContentMarker contextHelper) { #if BOOTSTRAP4 return(contextHelper.Input(InputType.Time).Size(new GridSize(0, 3, 3, 3, 3))); #else return(contextHelper.Input(InputType.Time).Size(new GridSize(0, 3, 3, 3))); #endif }
public static IItemWriter <Input> InputDateTimeLocal(this IAnyContentMarker contextHelper) { #if BOOTSTRAP4 return(contextHelper.Input(InputType.DatetimeLocal).Size(new GridSize(0, 6, 5, 5, 5))); #else return(contextHelper.Input(InputType.DatetimeLocal).Size(new GridSize(0, 6, 5, 5))); #endif }
public static IItemWriter <ControlContext, AnyContent> ControlFor <TModel, TProperty>( this IAnyContentMarker <TModel> contentHelper, Expression <Func <TModel, TProperty> > expression) { var fg = contentHelper.CreateWriter <ControlContext, AnyContent>(); contentHelper.Context.Helper.FillControlContext(fg.Item, expression); return(fg); }
public static IItemWriter <Input> InputInt(this IAnyContentMarker contextHelper) { #if BOOTSTRAP3 return(contextHelper.Input(InputType.Number).Size(0, 2, 2, 2)); #else return(contextHelper.Input(InputType.Number).Size(0, 2, 2, 2, 2)); #endif }
public static IItemWriter <Input> InputDate(this IAnyContentMarker contextHelper) { #if BOOTSTRAP3 return(contextHelper.Input(InputType.Date).Size(0, 3, 3, 3)); #else return(contextHelper.Input(InputType.Date).Size(0, 3, 3, 3, 3)); #endif }
public static TableSectionContent BeginTableFooter(this IAnyContentMarker contentHelper) { return(TableFooter(contentHelper).BeginContent()); }
public static IWriter2 <TableFooter, TableSectionContent> TableFooter(this IAnyContentMarker contentHelper) { return(contentHelper.Context.CreateWriter <TableFooter, TableSectionContent>()); }
public static IItemWriter <Badge, AnyContent> Label(this IAnyContentMarker contentHelper, object content) { return(contentHelper.CreateWriter <Badge, AnyContent>().Type(BadgeType.DefaultGray).Content(content)); }
public static ButtonGroupContent BeginButtonGroup(this IAnyContentMarker contentHelper, ButtonSize size) { return(ButtonGroup(contentHelper).Size(size).BeginContent()); }
public static FormContent <TModel> BeginForm <TModel>(this IAnyContentMarker <TModel> contentHelper, FormType type, FormEnctype enctype) { return(Form <TModel>(contentHelper, type, enctype).BeginContent()); }
public static IWriter2 <Form <TModel>, FormContent <TModel> > Form <TModel>(this IAnyContentMarker <TModel> contentHelper, FormType type, FormEnctype enctype) { return(Form <TModel>(contentHelper).Type(type).Enctype(enctype)); }
public static IWriter <ValidationSummary <TModel> > ValidationSummary <TModel>(this IAnyContentMarker <TModel> contentHelper) { return(contentHelper.Context.CreateWriter <ValidationSummary <TModel> >()); }
public static IItemWriter <GridRow, GridRowContent> GridRow(this IAnyContentMarker contentHelper) { return(contentHelper.CreateWriter <GridRow, GridRowContent>()); }
public static GridRowContent BeginGridRow(this IAnyContentMarker contentHelper) { return(GridRow(contentHelper).BeginContent()); }
public static TableRowContent BeginTableRow(this IAnyContentMarker contentHelper) { return(TableRow(contentHelper).BeginContent()); }
public static IItemWriter <TableRow, TableRowContent> TableRow(this IAnyContentMarker contentHelper, TableRowCellColor color) { return(TableRow(contentHelper).Color(color)); }
public static IItemWriter <TableRow, TableRowContent> TableRow(this IAnyContentMarker contentHelper) { return(contentHelper.CreateWriter <TableRow, TableRowContent>()); }
public static IItemWriter<Badge, AnyContent> Badge(this IAnyContentMarker contentHelper, object content) { return contentHelper.CreateWriter<Badge, AnyContent>().Content(content); }
public static IItemWriter <Button, AnyContent> Button(this IAnyContentMarker contentHelper, ButtonType type, IconType iconType, object content) { return(contentHelper.CreateWriter <Button, AnyContent>().Type(type).Content(contentHelper.CreateWriter <Icon>().Type(iconType), content)); }
public static IWriter2 <SelectOption, AnyContent> SelectOption(this IAnyContentMarker contentHelper, object value, string text) { return(contentHelper.Context.CreateWriter <SelectOption, AnyContent>().Value(value.ToString()).Content(text)); }
public static IWriter2 <SelectOption, AnyContent> SelectOption(this IAnyContentMarker contentHelper, object value) { return(SelectOption(contentHelper, value, value.ToString())); }
public static IItemWriter <TableCaption, AnyContent> TableCaption(this IAnyContentMarker contentHelper, object value) { return(contentHelper.CreateWriter <TableCaption, AnyContent>().Content(value)); }
public static IWriter2 <Form <TModel>, FormContent <TModel> > Form <TModel>(this IAnyContentMarker <TModel> contentHelper) { return(contentHelper.Context.CreateWriter <Form <TModel>, FormContent <TModel> >()); }
public static IItemWriter <TableBody, TableSectionContent> TableBody(this IAnyContentMarker contentHelper) { return(contentHelper.CreateWriter <TableBody, TableSectionContent>()); }
public static FormContent <TModel> BeginForm <TModel>(this IAnyContentMarker <TModel> contentHelper) { return(Form <TModel>(contentHelper).BeginContent()); }
public static IWriter2 <TableCaption, AnyContent> TableCaption(this IAnyContentMarker contentHelper, params object[] values) { return(contentHelper.Context.CreateWriter <TableCaption, AnyContent>().Content(values)); }
public static IWriter2 <ButtonGroup, ButtonGroupContent> ButtonGroup(this IAnyContentMarker contentHelper, ButtonSize size) { return(contentHelper.Context.CreateWriter <ButtonGroup, ButtonGroupContent>().Size(size)); }
public static AnyContent BeginTableCaption(this IAnyContentMarker contentHelper) { return(TableCaption(contentHelper).BeginContent()); }
public static IItemWriter <Legend, AnyContent> FormLegend(this IAnyContentMarker contentHelper) { return(contentHelper.CreateWriter <Legend, AnyContent>()); }
public static AnyContent BeginGridCol(this IAnyContentMarker contentHelper, byte xs, byte sm, byte md, byte lg, byte xl) { return(GridCol(contentHelper, xs, sm, md, lg, xl).BeginContent()); }