Back to Devexpress

ListCollection Class

aspnetcore-js-devexpress-dot-richedit-ce443acc.md

latest1.6 KB
Original Source

ListCollection Class

A collection of the List objects.

Declaration

ts
export class ListCollection extends Collection<List>

Inherited Members

count

getByIndex(index)

Inheritance

Collection<T> ListCollection

Methods

create(type) Method

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

Declaration

ts
create(
    type: ListType
): List

Parameters

NameTypeDescription
typeListType

The type of list.

|

Returns

TypeDescription
List

The newly created list.

|

deleteNumeration(subDocument, interval) Method

Deletes numeration of specified paragraph(s).

Declaration

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

Parameters

NameTypeDescription
subDocumentSubDocument

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.

|