ListStyleCollection Class
Represents the collection of list styles.
Inheritance
System.Object
Syncfusion.DocIO.DLS.XML.XDLSSerializableCollection
ListStyleCollection
Implements
System.Collections.IEnumerable
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.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. |
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
Syncfusion.DocIO.DLS.XML.XDLSSerializableCollection.GetTagItemName()
Implements
System.Collections.IEnumerable