New to Telerik UI for WinFormsStart a free 30-day trial

Class responsible for the lists in RadDocument.

Definition

Namespace:Telerik.WinForms.Documents.Lists

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public class ListManager

Inheritance: objectListManager

Constructors

Initializes a new instance of the ListManager class.

C#
public ListManager(RadDocument document)
Parameters:documentRadDocument

The document the manager will be responsible for.

Methods

Gets all document lists.

C#
public IEnumerable<DocumentList> GetAllDocumentLists()
Returns:

IEnumerable<DocumentList>

A collection of DocumentList objects.

Gets all list styles.

C#
public IEnumerable<ListStyle> GetAllListStyles()
Returns:

IEnumerable<ListStyle>

A collection of ListStyle objects.

Gets a document list by identifier.

C#
public DocumentList GetDocumentListById(int id)
Parameters:idint

The identifier.

Returns:

DocumentList

The DocumentList under the specified identifier. If such is not found, the method returns null.

Gets the list style by identifier.

C#
public ListStyle GetListStyleById(int id)
Parameters:idint

The identifier.

Returns:

ListStyle

The ListStyle under the specified identifier. If such is not found, the method returns null.

Registers a ListStyle if such is still not registered.

C#
public void RegisterListStyleIfNecessary(ListStyle listStyle)
Parameters:listStyleListStyle

The list style.

Removes a ListStyle from the registered styles.

C#
public void UnRegisterListStyle(ListStyle listStyle)
Parameters:listStyleListStyle

The list style.