menu

UWP

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

    Show / Hide Table of Contents

    Class ListAdvCollection

    Represents a collection of ListAdv elements.

    Inheritance
    System.Object
    BaseNodeCollection
    ListAdvCollection
    Namespace: Syncfusion.UI.Xaml.RichTextBoxAdv
    Assembly: Syncfusion.SfRichTextBoxAdv.UWP.dll
    Syntax
    public class ListAdvCollection : BaseNodeCollection

    Constructors

    ListAdvCollection(BaseNode)

    Initializes a new instance of the ListAdvCollection class for the specified BaseNode.

    Declaration
    public ListAdvCollection(BaseNode owner)
    Parameters
    Type Name Description
    BaseNode owner

    The owner of the ListAdvCollection. The value can be null or an instance of DocumentAdv.

    ListAdvCollection(BaseNode, IEnumerable<ListAdv>)

    Initializes a new instance of the ListAdvCollection class that contains lists copied from the specified collection for the specified owner.

    Declaration
    public ListAdvCollection(BaseNode owner, IEnumerable<ListAdv> collection)
    Parameters
    Type Name Description
    BaseNode owner

    The owner of the ListAdvCollection. The value can be null or an instance of DocumentAdv.

    System.Collections.Generic.IEnumerable<ListAdv> collection

    The collection from which the lists are copied.

    Exceptions
    Type Condition
    System.ArgumentNullException

    The collection parameter cannot be null.

    Properties

    Item[Int32]

    Gets the ListAdv at the specified index in the ListAdvCollection.

    Declaration
    public ListAdv this[int index] { get; }
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based index of the ListAdv instance to get.

    Property Value
    Type Description
    ListAdv

    The ListAdv instance at the specified index in the ListAdvCollection.

    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    Index was out of range. Must be non-negative and less than the size of the collection.

    Methods

    Add(BaseNode)

    Adds the specified ListAdv to the end of the ListAdvCollection.

    Declaration
    public void Add(BaseNode listAdv)
    Parameters
    Type Name Description
    BaseNode listAdv

    The ListAdv instance to be added to the end of the ListAdvCollection.

    Insert(Int32, BaseNode)

    Inserts the specified ListAdv into the ListAdvCollection at the specified index.

    Declaration
    public void Insert(int index, BaseNode listAdv)
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based index at which the ListAdv should be inserted.

    BaseNode listAdv

    The ListAdv instance to insert.

    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    Index was out of range. Must be non-negative and less than the size of the collection.

    Remove(BaseNode)

    Removes the first occurrence of the specified ListAdv from the ListAdvCollection.

    Declaration
    public bool Remove(BaseNode listAdv)
    Parameters
    Type Name Description
    BaseNode listAdv

    The ListAdv instance to remove from the ListAdvCollection.

    Returns
    Type Description
    System.Boolean

    True, if the specified ListAdv is successfully removed. Otherwise, false. This method also returns false if specified ListAdv was not found in the original ListAdvCollection.

    RemoveAt(Int32)

    Removes the ListAdv instance at the specified index of the ListAdvCollection.

    Declaration
    public void RemoveAt(int index)
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based index of the ListAdv to remove.

    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    Index is less than zero.-or-Index is equal to or greater than item count.

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved