ClassListManager
Class responsible for the lists in RadDocument.
Definition
Namespace:Telerik.Windows.Documents.Lists
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class ListManager
Inheritance: objectListManager
Constructors
ListManager(RadDocument)
Initializes a new instance of the ListManager class.
Declaration
public ListManager(RadDocument document)
Parameters
document
The document the manager will be responsible for.
Methods
GetAllDocumentLists()
Gets all document lists.
Declaration
public IEnumerable<DocumentList> GetAllDocumentLists()
Returns
A collection of DocumentList objects.
GetAllListStyles()
Gets all list styles.
Declaration
public IEnumerable<ListStyle> GetAllListStyles()
Returns
A collection of ListStyle objects.
GetDocumentListById(int)
Gets a document list by identifier.
Declaration
public DocumentList GetDocumentListById(int id)
Parameters
id
The identifier.
Returns
The DocumentList under the specified identifier. If such is not found, the method returns null.
GetListStyleById(int)
Gets the list style by identifier.
RegisterListStyleIfNecessary(ListStyle)
Registers a ListStyle if such is still not registered.
Declaration
public void RegisterListStyleIfNecessary(ListStyle listStyle)
Parameters
listStyle
The list style.
UnRegisterListStyle(ListStyle)
Removes a ListStyle from the registered styles.
Declaration
[SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "Un")]
public void UnRegisterListStyle(ListStyle listStyle)
Parameters
listStyle
The list style.