In the RadRichTextBoxRibbonUI there is a collection of lists defined by default in the following drop-down button:
I would like to modify the properties (e.g. the hanging indent) of these default lists. How would I modify these default lists programmatically?
1 Answer, 1 is accepted
answered on 28 Aug 2013, 03:48 PM
Thank you for contacting us about this issue!
For creating custom list styles or modifying a default one you will need to use the ListStyle class and its Levels property, which gives you access to a collection of ListLevelStyle instances. Through this ListLevelStyle instances you have access to the properties (such as Indent, HangingIndent, FontFamily, ...) for each level in the ListStyle. I suggest you refer to this article for more information on list styles.
You can obtain one of the default list styles in order to modify it as follows:
I hope this helps! I you have any other questions or concerns please do not hesitate to contact us again!
the Telerik team
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely. Sign up for Free application insights >>