menu

UWP

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

    Show / Hide Table of Contents

    Class LevelOverrideAdvCollection

    Represents a collection of LevelOverrideAdv elements.

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

    Constructors

    LevelOverrideAdvCollection(BaseNode)

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

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

    The owner of the LevelOverrideAdvCollection. The value can be null or an instance of ListAdv.

    LevelOverrideAdvCollection(BaseNode, IEnumerable<LevelOverrideAdv>)

    Initializes a new instance of the LevelOverrideAdvCollection class that contains level overrides copied from the specified collection for the specified BaseNode.

    Declaration
    public LevelOverrideAdvCollection(BaseNode owner, IEnumerable<LevelOverrideAdv> collection)
    Parameters
    Type Name Description
    BaseNode owner

    The owner of the LevelOverrideAdvCollection. The value can be null or an instance of ListAdv.

    System.Collections.Generic.IEnumerable<LevelOverrideAdv> collection

    The collection from which the level overrides are copied.

    Exceptions
    Type Condition
    System.ArgumentNullException

    The collection parameter cannot be null.

    Properties

    Item[Int32]

    Gets the LevelOverrideAdv instance in the LevelOverrideAdvCollection, by matching the specified levelNumber.

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

    The level number to match with the level overrides in the LevelOverrideAdvCollection.

    Property Value
    Type Description
    LevelOverrideAdv

    Returns the LevelOverrideAdv instance in the LevelOverrideAdvCollection that matches the specified levelNumber, if any. Otherwise returns null.

    Methods

    Add(BaseNode)

    Adds the specified LevelOverrideAdv to the end of the LevelOverrideAdvCollection.

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

    The LevelOverrideAdv instance to be added to the end of the LevelOverrideAdvCollection.

    Insert(Int32, BaseNode)

    Inserts the specified LevelOverrideAdv into the LevelOverrideAdvCollection at the specified index.

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

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

    BaseNode levelOverrideAdv

    The LevelOverrideAdv 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 LevelOverrideAdv from the LevelOverrideAdvCollection.

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

    The LevelOverrideAdv instance to remove from the LevelOverrideAdvCollection.

    Returns
    Type Description
    System.Boolean

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

    RemoveAt(Int32)

    Removes the LevelOverrideAdv instance at the specified index of the LevelOverrideAdvCollection.

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

    The zero-based index of the LevelOverrideAdv instance 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