Hi,
I need to add bullets to a TableCell from code. I have tried cell.Blocks.Add(bullets) where bullets is a DocumentList but I am getting 'cannot convert from DocumentList to Block.
Code snippet:
DocumentList bullets = new DocumentList(DefaultListStyles.Bulleted, document);
p1 = new Paragraph();
s1 = new Span();
cell1.Background = Color.FromRgb(255, 255, 255);
cell1.PreferredWidth = w1;
cell1.Padding = new Telerik.Windows.Documents.Layout.Padding(3, 6, 3, 6);
s1.FontFamily = new FontFamily(CGlobals.docu_default_font);
s1.FontSize = Unit.PointToDip(CGlobals.docu_default_font_size);
s1.Text = name;
p1.Inlines.Add(s1);
bullets.AddParagraph(p1);
cell1.Blocks.Add(bullets);
Thank you