public static TableCell VerticalAlignment(this TableCell Cell, TableVerticalAlignmentValues Alignment) { Cell.Content() .GetOrPrepend <TableCellProperties>().Content() .GetOrAppend <TableCellVerticalAlignment>() .Val = Alignment; return(Cell); }
public static TableCell Width(this TableCell Cell, int width, TableWidthUnitValues Type = TableWidthUnitValues.Dxa) { var width_properties = Cell.Content() .GetOrPrepend <TableCellProperties>().Content() .GetOrAppend <TableCellWidth>(); width_properties.Width = width.ToString(); width_properties.Type = Type; return(Cell); }
private static TableCellBorders GetBorderProperties(this TableCell Cell) => Cell.Content() .GetOrAppend <TableCellProperties>().Content() .GetOrAppend <TableCellBorders>();