Class ListStyleCollection
Represents the collection of list styles.
Implements
System.Collections.IEnumerable
Inherited Members
Namespace: Syncfusion.DocIO.DLS
Assembly: Syncfusion.DocIO.NET.dll
Syntax
public class ListStyleCollection : CollectionImpl, 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. |
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. |
Implements
System.Collections.IEnumerable