Click or drag to resize

ListStyle Class

Represents a ListStyle.
Inheritance Hierarchy

Namespace: Spire.Doc.Documents
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public class ListStyle : Style

The ListStyle type exposes the following members.

Constructors
Name Description
Public method ListStyle
Initializes a new instance of the ListStyle class.
Top
Properties
Name Description
Public property CharacterFormat (Inherited from Style .)
Public property Document
Gets the document.
(Inherited from OwnerHolder .)
Public property IsCustomStyle
Gets or sets a value indicating whether this instance is custom style.
(Inherited from Style .)
Public property IsHeading
Gets or sets a value indicating whether the style is heading style.
(Inherited from Style .)
Public property Levels
Gets list levels collection
Public property ListType
Returns or sets list type
Public property Name (Inherited from Style .)
Public property StyleId
Gets or sets the style id.
(Inherited from Style .)
Public property StyleType
Gets the type of the style.
(Overrides Style StyleType .)
Protected property XDLSHolder (Inherited from DocumentSerializable .)
Top
Methods
Name Description
Public method ApplyBaseStyle(String) (Inherited from Style .)
Public method ApplyBaseStyle(BuiltinStyle) (Inherited from Style .)
Public method Clone
Clones itself
(Overrides Style Clone .)
Protected method CloneImpl (Overrides Style CloneImpl .)
Protected method CloneStyleTo (Inherited from Style .)
Public method Static member CreateEmptyListStyle
Creates an empty list style for a document with the specified list type and level.
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetNearLevel
Retrieves the list level that is nearest to the specified level number.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method InitXDLSHolder (Overrides Style InitXDLSHolder .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Protected method ReadXmlAttributes (Overrides Style ReadXmlAttributes(IXDLSAttributeReader) .)
Protected method ReadXmlContent (Inherited from DocumentSerializable .)
Protected method RestoreReference (Inherited from Style .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Protected method WriteXmlAttributes (Overrides Style WriteXmlAttributes(IXDLSAttributeWriter) .)
Protected method WriteXmlContent (Inherited from DocumentSerializable .)
Top
Fields
Name Description
Protected field m_baseStyle (Inherited from Style .)
Protected field m_doc (Inherited from OwnerHolder .)
Protected field m_isCustom (Inherited from Style .)
Protected field m_isPrimaryStyle (Inherited from Style .)
Protected field m_isSemiHidden (Inherited from Style .)
Protected field m_linkStyle (Inherited from Style .)
Protected field m_nextStyle (Inherited from Style .)
Protected field m_tapx (Inherited from Style .)
Protected field m_unhideWhenUsed (Inherited from Style .)
Top
See Also