menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ListStyleCollection - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ListStyleCollection

    Represents the collection of list styles.

    Inheritance
    System.Object
    OwnerHolder
    CollectionImpl
    XDLSSerializableCollection
    ListStyleCollection
    Implements
    IXDLSSerializableCollection
    System.Collections.IEnumerable
    Inherited Members
    CollectionImpl.Count
    CollectionImpl.GetEnumerator()
    OwnerHolder.Document
    OwnerHolder.m_doc
    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()
    XDLSSerializableCollection.IXDLSSerializableCollection.AddNewItem(IXDLSContentReader)
    XDLSSerializableCollection.IXDLSSerializableCollection.TagItemName
    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
    XDLSSerializableCollection.CreateItem(IXDLSContentReader)

    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
    XDLSSerializableCollection.GetTagItemName()

    Implements

    IXDLSSerializableCollection
    System.Collections.IEnumerable

    Extension Methods

    FunctionalExtensions.ForEach<T>(IEnumerable, Action<T>)
    FunctionalExtensions.ToList<T>(IEnumerable)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved