Raul
Raul

Reputation: 21

how to bullet or number text of richtextbox silverlight?

I am using Silverlight RichTextEditor ( reference ) that does not have bulleting or numbering of text. Is there any way to do so in a simpler manner.

Upvotes: 0

Views: 449

Answers (1)

itzmebibin
itzmebibin

Reputation: 9439

If you need to apply bullets/numbering/indent to selected-text in a RichTextBox, then you have to programmatically find Paragraph elements inside selected-text and insert the corresponding character (bullet or number of tab) at the start of each Paragraph element.

Check out here for detailed explanation.

Or,

Check out the ordered/unordered list controls explained in this link. You can extend its functionality to acheive what you intend to do. I have used it to show hierarchical data using nested lists and found it fairly easy to modify it to my needs.

Upvotes: 1

Related Questions