Class ListFormat
Represents List formatting.
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 ListFormat : FormatBase, IEntityBase, IXDLSSerializable
Constructors
ListFormat(IParagraph)
Initializing constructor.
Declaration
public ListFormat(IParagraph owner)
Parameters
Type | Name | Description |
---|---|---|
IParagraph | owner |
Properties
CurrentListLevel
Get set paragraph's ListLevel.
Declaration
public ListLevel CurrentListLevel { get; }
Property Value
Type |
---|
ListLevel |
CurrentListStyle
Get paragraph's list style.
Declaration
public ListStyle CurrentListStyle { get; }
Property Value
Type |
---|
ListStyle |
CustomStyleName
Gets / sets name of custom style.
Declaration
public string CustomStyleName { get; }
Property Value
Type |
---|
System.String |
ListLevelNumber
Gets / sets list nesting level.
Declaration
public int ListLevelNumber { get; set; }
Property Value
Type |
---|
System.Int32 |
ListType
Get / sets type of the list.
Declaration
public ListType ListType { get; }
Property Value
Type |
---|
ListType |
RestartNumbering
Gets / sets whether numbering of the list must restart from previous list.
Declaration
public bool RestartNumbering { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
ApplyDefBulletStyle()
Apply default bullet style for current paragraph.
Declaration
public void ApplyDefBulletStyle()
ApplyDefNumberedStyle()
Apply default numbered style for current paragraph.
Declaration
public void ApplyDefNumberedStyle()
ApplyStyle(String)
Apply liststyle
Declaration
public void ApplyStyle(string styleName)
Parameters
Type | Name | Description |
---|---|---|
System.String | styleName | Style Name |
ContinueListNumbering()
Continue last list.
Declaration
public void ContinueListNumbering()
DecreaseLevelIndent()
Decrease level indent.
Declaration
public void DecreaseLevelIndent()
GetDefValue(Int32)
Declaration
protected override object GetDefValue(int key)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | key |
Returns
Type |
---|
System.Object |
Overrides
IncreaseLevelIndent()
Increase level indent.
Declaration
public void IncreaseLevelIndent()
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 |