ODF .NET Class Library
Show/Hide TOC

# ListStyle Class

Represents a set of style elements for each list level, which are called list level styles.

## Definition

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

    public class ListStyle : Style

VB

    Public Class ListStyle
    	Inherits Style

Inheritance
  Object Style ListStyle

## Constructors

ListStyle | Initializes a new instance of the ListStyle class.
ListStyle(String) | Initializes a new instance of the ListStyle class.

## Properties

DisplayName | Specifies the name of a style. (Inherited from Style)
Name | Specifies names that are used for referencing style. (Inherited from Style)
Styles | Contains a collection of IListStyleContent objects.
UseConsecutiveNumbering | Specifies whether the style uses consecutive numbering for all list levels or whether each list level restarts the numbering.

## Methods

Clone | Creates a new object that is a deep copy of the current instance.
Equals | (Inherited from Object)
Finalize | (Inherited from Object)
GetHashCode | (Inherited from Object)
GetType | (Inherited from Object)
MemberwiseClone | (Inherited from Object)
ToString | Converts the value of the current ListStyle object to its equivalent string representation. (Overrides ObjectToString)

## See Also

#### Reference

Independentsoft.Office.Odf.Styles Namespace