public static IItemWriter <T> Size <T>(this IItemWriter <T> target, GridSize value) where T : IGridSizable, IWritableItem { target.Item.SetSize(value); return(target); }
public static IItemWriter <T, TContent> Size <T, TContent>(this IItemWriter <T, TContent> target, GridSize value) where T : ContentElement <TContent>, IGridSizable where TContent : DisposableContent { target.Item.SetSize(value); return(target); }
public static IItemWriter <T, AnyContent> Offset <T>(this IItemWriter <T, AnyContent> target, GridSize value) where T : GridCol { target.Item.Offset = value; return(target); }
public static AnyContent BeginGridCol(this IAnyContentMarker contentHelper, GridSize size, GridSize offset) { return(GridCol(contentHelper, size).Offset(offset).BeginContent()); }
public static IItemWriter <GridCol, AnyContent> GridCol(this IAnyContentMarker contentHelper, GridSize size) { return(contentHelper.CreateWriter <GridCol, AnyContent>().Size(size)); }
public static IItemWriter <T, FormContent <TModel> > ControlsWidth <T, TModel>(this IItemWriter <T, FormContent <TModel> > target, GridSize value) where T : Form <TModel> { target.Item.ControlsWidth = value; return(target); }