Hi,
Am I setting the top table cell border correctly?
Notice the line of code:
For some reason the top border to the cell in question is not displaying a green single line.
I'm using library version 2012.2.912.40.
On another slightly different topic, before I upgraded from one of the previous WPF library versions all of the borders in my table were showing. Now that I've update the libraries no table borders are visible.
Any adivce would be greatly appreciated.
Thanks for your time,
Rob
Am I setting the top table cell border correctly?
//Discount Total Cell
Span spanDiscountTotal =
new
Span(disountTotal.ToString(
"C"
, CultureInfo.CreateSpecificCulture(
"en-GB"
)));
spanDiscountTotal.StyleName =
"styleTableTotal"
;
Paragraph paragraphDiscountTotal =
new
Paragraph();
paragraphDiscountTotal.Inlines.Add(spanDiscountTotal);
TableCell cellDiscountTotal =
new
TableCell();
cellDiscountTotal.Borders.SetTop(
new
Border(5 ,BorderStyle.Single, Colors.Green));
cellDiscountTotal.Blocks.Add(paragraphDiscountTotal);
Notice the line of code:
cellDiscountTotal.Borders.SetTop(
new
Border(5 ,BorderStyle.Single, Colors.Green));
For some reason the top border to the cell in question is not displaying a green single line.
I'm using library version 2012.2.912.40.
On another slightly different topic, before I upgraded from one of the previous WPF library versions all of the borders in my table were showing. Now that I've update the libraries no table borders are visible.
Any adivce would be greatly appreciated.
Thanks for your time,
Rob