Class ListManager
Class responsible for the lists in RadDocument.
Inheritance
Namespace: Telerik.Windows.Documents.Lists
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class ListManager : Object
Constructors
ListManager(RadDocument)
Initializes a new instance of the ListManager class.
Declaration
public ListManager(RadDocument document)
Parameters
RadDocument
document
The document the manager will be responsible for. |
Methods
GetAllDocumentLists()
Gets all document lists.
Declaration
public IEnumerable<DocumentList> GetAllDocumentLists()
Returns
System.Collections.Generic.IEnumerable<DocumentList>
A collection of DocumentList objects. |
GetAllListStyles()
Gets all list styles.
Declaration
public IEnumerable<ListStyle> GetAllListStyles()
Returns
System.Collections.Generic.IEnumerable<ListStyle>
A collection of ListStyle objects. |
GetDocumentListById(Int32)
Gets a document list by identifier.
Declaration
public DocumentList GetDocumentListById(int id)
Parameters
System.Int32
id
The identifier. |
Returns
DocumentList
The DocumentList under the specified identifier. If such is not found, the method returns |
GetListStyleById(Int32)
Gets the list style by identifier.
Declaration
public ListStyle GetListStyleById(int id)
Parameters
System.Int32
id
The identifier. |
Returns
ListStyle
The ListStyle under the specified identifier. If such is not found, the method returns |
RegisterListStyleIfNecessary(ListStyle)
Registers a ListStyle if such is still not registered.
Declaration
public void RegisterListStyleIfNecessary(ListStyle listStyle)
Parameters
ListStyle
listStyle
The list style. |
UnRegisterListStyle(ListStyle)
Removes a ListStyle from the registered styles.
Declaration
public void UnRegisterListStyle(ListStyle listStyle)
Parameters
ListStyle
listStyle
The list style. |