Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
65
Cell Borders and Row Margins
posted

Hi, i want to draw a right border in cell of a row with top margin = 7; if i do:

row = grid.AddRow();

row.Margins.Top = 7;

 ...

 cell = row.AddCell();

 cell.Borders.Right = new Border(new Pen(Colors.Black, DashStyle.Solid));

 .... the border isn't drawn in the "margins zone". How can I do?