# OdpList

An XML-backed presentation list.

Class 

`OfficeIMO.OpenDocument`

**Namespace**

`OfficeIMO.OpenDocument`

**Assembly**

`OfficeIMO.OpenDocument`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OdpText.cs:266](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Presentation/OdpText.cs#L266)

**Modifiers**

sealed

An XML-backed presentation list.

## Inheritance

- object
- OdpList

## Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 2

- Method [OdpTextBox.AddList](/api/open-document/officeimo-opendocument-odptextbox/#method-addlist-boolean)
- Property [OdpTextBox.Lists](/api/open-document/officeimo-opendocument-odptextbox/#property-lists)

Filter members 

Show inherited

## Methods

`public OdpParagraph AddItem(string? text = null)` [#](#method-additem-string)

[OdpText.cs:266](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Presentation/OdpText.cs#L266)

Adds a one-paragraph list item.

Parameters

**text string? = null optional**

Returns

`OdpParagraph`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public IReadOnlyList<OdpParagraph> Items { get; }` [#](#property-items)

[OdpText.cs:262](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.OpenDocument/Presentation/OdpText.cs#L262)

List item paragraphs.

<!-- PowerForge markdown artifact sha256:4FAD88ADDFC030A42A0088D1FC248EDE0CE2D2FBECF7864EC0535529ABEEF902 -->
