예제 #1
0
 public static IItemWriter <T> Size <T>(this IItemWriter <T> target, GridSize value)
     where T : IGridSizable, IWritableItem
 {
     target.Item.SetSize(value);
     return(target);
 }
예제 #2
0
 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);
 }
예제 #3
0
 public static IItemWriter <T, AnyContent> Offset <T>(this IItemWriter <T, AnyContent> target, GridSize value) where T : GridCol
 {
     target.Item.Offset = value;
     return(target);
 }
예제 #4
0
 public static AnyContent BeginGridCol(this IAnyContentMarker contentHelper, GridSize size, GridSize offset)
 {
     return(GridCol(contentHelper, size).Offset(offset).BeginContent());
 }
예제 #5
0
 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);
 }