Class ListStyleCollection
Represents the collection of list styles.
Inherited Members
Namespace: Syncfusion.DocIO.DLS
Assembly: Syncfusion.DocIO.Base.dll
Syntax
public class ListStyleCollection : XDLSSerializableCollection, IXDLSSerializableCollection, IEnumerable
Properties
Item[Int32]
Gets the ListStyle at the specified index. Read-only.
Declaration
public ListStyle this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index of the list style to get from the collection. |
Property Value
Type | Description |
---|---|
ListStyle | The ListStyle at the specified index. |
Methods
Add(ListStyle)
Adds the specified list style to the collection.
Declaration
public int Add(ListStyle style)
Parameters
Type | Name | Description |
---|---|---|
ListStyle | style | The ListStyle to be added to the collection. |
Returns
Type | Description |
---|---|
System.Int32 | The zero-based index of the added style. |
CreateItem(IXDLSContentReader)
Creates the item.
Declaration
protected override OwnerHolder CreateItem(IXDLSContentReader reader)
Parameters
Type | Name | Description |
---|---|---|
IXDLSContentReader | reader | The reader. |
Returns
Type |
---|
OwnerHolder |
Overrides
FindByName(String)
Finds the list style with the specified name from the collection.
Declaration
public ListStyle FindByName(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The string that specifies the name of the list style to get from the collection. |
Returns
Type | Description |
---|---|
ListStyle | The ListStyle with the specified name. |
GetTagItemName()
Gets name of xml tag
Declaration
protected override string GetTagItemName()
Returns
Type |
---|
System.String |
Overrides
Implements
System.Collections.IEnumerable