I'm trying to create a numbered list (with sub-lists) in a WPF based UI. I'm aware of BulletDecorator
for creating bullet lists and I was hoping there might be something similar for numbered lists.
I'm hoping to achieve something like:
- List item
List item
a) Sub list item
b) Sub list item
- List item
Ideally I'd also like to have some control over the numbering format to enable use of lettering (such as shown f开发者_运维问答or the sub-items).
Use FlowDocument with List. The FlowDocument/List example on the bottom of this article shows an example similar to what you want to create.
精彩评论