ODF .NET Class Library
Show/Hide TOC

# ListItem Class

Represents an item in 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 ListItem : IContentElement

VB

    Public Class ListItem
    	Implements IContentElement

Inheritance
  Object ListItem

Implements
  IContentElement

## Constructors

ListItem | Initializes a new instance of the ListItem class.

## Properties

Content | Contains a collection of ITextContent objects.
StartValue | Contains the value that restarts numbering of a list at the current item.

## Methods

Add(Heading) | Adds a Heading object to the content.
Add(List) | Adds a List object to the content.
Add(Paragraph) | Adds a Paragraph 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 ListItem object to its equivalent string representation. (Overrides ObjectToString)

## See Also

#### Reference

Independentsoft.Office.Odf Namespace