Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ListCollection Class

A collection of the List objects.

#Declaration

TypeScript
export class ListCollection extends Collection<List>

#Inherited Members

#Inheritance

Collection<T>
ListCollection

#Methods

#create(type) Method

Creates a new List object of the specified type and adds it to the collection.

#Declaration

TypeScript
create(
    type: ListType
): List

#Parameters

Name Type Description
type ListType

The type of list.

#Returns

Type Description
List

The newly created list.

#deleteNumeration(subDocument, interval) Method

Deletes numeration of specified paragraph(s).

#Declaration

TypeScript
deleteNumeration(
    subDocument: SubDocument,
    interval: IInterval | number
): void

#Parameters

Name Type Description
subDocument SubDocument

A sub-document that contains the processed paragraph(s).

interval number | IInterval

An interval that traverses the processed paragraph(s) or a position in the paragraph.