Class List
Represents a List.
Implements
Inherited Members
Namespace: DRIT.Document.Lists
Assembly: DRIT.Document.dll
Syntax
public class List : IComparable<List>
Constructors
List(ListTemplate)
Initializes a new instance of the List class.
Declaration
public List(ListTemplate template)
Parameters
| Type | Name | Description |
|---|---|---|
| ListTemplate | template | The template used by the operation. |
Properties
Document
Gets or sets document.
Declaration
public DocumentBase Document { get; }
Property Value
| Type | Description |
|---|---|
| DocumentBase |
IsListStyleDefinition
Returns true if this list is a definition of a list style.
Declaration
public bool IsListStyleDefinition { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsListStyleReference
Returns true if this list is a reference to a list style.
Declaration
public bool IsListStyleReference { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsMultiLevel
Gets or sets is multi level.
Declaration
public bool IsMultiLevel { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsRestartAtEachSection
Specifies whether list should be restarted at each section. Default value is false.
Declaration
public bool IsRestartAtEachSection { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ListId
Gets or sets list id.
Declaration
public int ListId { get; }
Property Value
| Type | Description |
|---|---|
| int |
ListLevels
Gets the collection of list levels for this list.
Declaration
public ListLevelCollection ListLevels { get; }
Property Value
| Type | Description |
|---|---|
| ListLevelCollection |
Style
Gets or sets style.
Declaration
public Style Style { get; }
Property Value
| Type | Description |
|---|---|
| Style |
Template
Gets or sets template.
Declaration
public ListTemplate Template { get; }
Property Value
| Type | Description |
|---|---|
| ListTemplate |
Methods
CompareTo(List)
Provides the compare To behavior for this object.
Declaration
public int CompareTo(List other)
Parameters
| Type | Name | Description |
|---|---|---|
| List | other | The other used by the operation. |
Returns
| Type | Description |
|---|---|
| int | The resulting value. |