This question is locked. New answers and comments are not allowed.
I am creating a document in code-behind, but have not been successful in creating a bulleted list. Here is a snippet of code. The text is displayed currectly, but no bullets are generated.
Section section; Paragraph paragraph; // Set up the initial document. RadDocument document = new RadDocument(); document.LayoutMode = DocumentLayoutMode.Flow; document.ParagraphDefaultSpacingBefore = 0; document.ParagraphDefaultSpacingAfter = 0; // Set up the section that will contain the list of items. section = new Section(); section.PageMargin = new Padding(20,0,0,0); document.Sections.Add(section); if (myList.Count > 0) { foreach (Item item in myList) { paragraph = new Paragraph(); paragraph.ListItemSerializationInfo = new ListItemSerializationInfo() { ListID = 1, ListSymbol = '•', ListType = ListType.Bulleted, SymbolFontSize = 11 }; paragraph.Inlines.Add(new Span() { Text = item.Description, FontSize = 11, ForeColor = Colors.Black }); section.Paragraphs.Add(paragraph); } }