Class ListStyle
Represents a ListStyle.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.DLS
Assembly: Syncfusion.DLS.Base.dll
Syntax
public class ListStyle : Style, IEntityBase, IXDLSSerializable, IStyle
Constructors
ListStyle(IDocument, ListType)
Initializing constructor
Declaration
public ListStyle(IDocument doc, ListType listType)
Parameters
Type | Name | Description |
---|---|---|
IDocument | doc | |
ListType | listType |
Properties
Levels
Gets list levels collection
Declaration
public ListLevelCollection Levels { get; }
Property Value
Type |
---|
ListLevelCollection |
ListType
Gets / sets list type
Declaration
public ListType ListType { get; set; }
Property Value
Type |
---|
ListType |
Methods
Clone(IDocument)
Clones current style object
Declaration
public override IStyle Clone(IDocument document)
Parameters
Type | Name | Description |
---|---|---|
IDocument | document |
Returns
Type |
---|
IStyle |
Overrides
CloneImpl(IDocument)
Declaration
protected virtual ListStyle CloneImpl(IDocument document)
Parameters
Type | Name | Description |
---|---|---|
IDocument | document |
Returns
Type |
---|
ListStyle |
CreateEmptyListStyle(IDocument, ListType, Boolean)
Declaration
public static ListStyle CreateEmptyListStyle(IDocument doc, ListType listType, bool isOneLevelList)
Parameters
Type | Name | Description |
---|---|---|
IDocument | doc | |
ListType | listType | List type(bulleted or numbered) |
System.Boolean | isOneLevelList | Is it list that consist of 1 level only. |
Returns
Type |
---|
ListStyle |
GetNearLevel(Int32)
Declaration
public ListLevel GetNearLevel(int levelNumber)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | levelNumber |
Returns
Type |
---|
ListLevel |
InitXDLSHolder()
Declaration
protected override void InitXDLSHolder()
Overrides
ReadXmlAttributes(IXDLSAttributeReader)
Declaration
protected override void ReadXmlAttributes(IXDLSAttributeReader reader)
Parameters
Type | Name | Description |
---|---|---|
IXDLSAttributeReader | reader |
Overrides
WriteXmlAttributes(IXDLSAttributeWriter)
Declaration
protected override void WriteXmlAttributes(IXDLSAttributeWriter writer)
Parameters
Type | Name | Description |
---|---|---|
IXDLSAttributeWriter | writer |