Please, refer to the snippet below, which is demonstrating how to create a List and add it to the RadDocument:
ListStyle list =
levelIndex = 0; levelIndex < 9; levelIndex++)
isEven = (levelIndex % 2) == 0;
ListLevelStyle level =
level.StartingIndex = 1;
level.NumberingFormat = ListNumberingFormat.Decimal;
level.LevelText = isEven ?
+ levelIndex +
level.ForeColor = Color.FromRgb(34, 144, 233);
level.Indent = 48 + (levelIndex * 24);
RadDocument doc =
ListStyle newListStyle = doc.AddCustomListStyle(list);
DocumentList documentList =
If you are still experiencing difficulties with this, it would be great if you sent us more details - what is the code for creating the ListStyles, what is not working - it the style not appearing in the document or you get some an error. If it is possible an example project would be great.
I am looking forward to hearing from you.
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.