ODF .NET Class Library
Show/Hide TOC

# List Class

Represents a list.

## Definition

Namespace: Independentsoft.Office.Odf
Assembly: Independentsoft.Office.Odf (in Independentsoft.Office.Odf.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#

    public class List : ITextContent, IIndexContent, IContentElement,
    	ICellContent, IDrawText, IHeaderFooterContent

VB

    Public Class List
    	Implements ITextContent, IIndexContent, IContentElement, ICellContent,
    	IDrawText, IHeaderFooterContent

Inheritance
  Object List

Implements
  IDrawText, ICellContent, IContentElement, IIndexContent, ITextContent, IHeaderFooterContent

## Constructors

List | Initializes a new instance of the List class.

## Properties

ContinueList | Contains the id of a list that is to be continued.
ContinueNumbering | Specifies if the numbering of the preceding list is continued or not.
Header | Contains the list header and is a kind of list item. It contains one or more paragraphs that are displayed before a list. The paragraphs are formatted as list items but they do not have a preceding number or bullet.
Id | Contains the id of the list.
Items | Contains a collection of items.
Style | Contains the name of a list style that is applied to a list.

## Methods

Add | Adds a ListItem object to the content.
Clone | Creates a new object that is a deep copy of the current instance.
Equals | (Inherited from Object)
Finalize | (Inherited from Object)
GetContentElements | Returns all content elements.
GetHashCode | (Inherited from Object)
GetParent | Returns the parent element.
GetType | (Inherited from Object)
MemberwiseClone | (Inherited from Object)
ToString | Converts the value of the current List object to its equivalent string representation. (Overrides ObjectToString)

## See Also

#### Reference

Independentsoft.Office.Odf Namespace