Search Results for

    Show / Hide Table of Contents

    Class ParentElement

    Inheritance
    System.Object
    ContentElement
    ParentElement
    BaseGraphicContainer
    TextContainer
    Container
    Paragraph
    Run
    Slide
    Implements
    ICloneableElement
    IParentElement
    IContentElement
    Inherited Members
    ContentElement._Index
    ContentElement.Replace(IContentElement)
    ContentElement.GetIndex()
    ContentElement.CloneObject<T>(T)
    ContentElement.CaptureInitialValues()
    ContentElement.Index
    ContentElement.Parent
    ContentElement.Status
    Namespace: IronPPT.Models.Abstract
    Assembly: IronPPT.dll
    Syntax
    public abstract class ParentElement : ContentElement, ICloneableElement, IParentElement, IContentElement

    Constructors

    ParentElement()

    Declaration
    protected ParentElement()

    ParentElement(IContentElement[])

    Declaration
    public ParentElement(params IContentElement[] children)
    Parameters
    Type Name Description
    IContentElement[] children

    Properties

    Children

    Declaration
    public List<IContentElement> Children { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<IContentElement>

    Methods

    AddChild(IContentElement[])

    Declaration
    public virtual void AddChild(params IContentElement[] children)
    Parameters
    Type Name Description
    IContentElement[] children

    Clone()

    Declaration
    public override IContentElement Clone()
    Returns
    Type Description
    IContentElement
    Overrides
    ContentElement.Clone()

    CloneElement<T>(T)

    Declaration
    protected static T CloneElement<T>(T original)
        where T : ParentElement
    Parameters
    Type Name Description
    T original
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    ExtractElements<T>()

    Declaration
    public List<T> ExtractElements<T>()
        where T : IContentElement
    Returns
    Type Description
    System.Collections.Generic.List<T>
    Type Parameters
    Name Description
    T

    GetChildByIndex<T>(Int32)

    Declaration
    public IContentElement GetChildByIndex<T>(int index)
        where T : IContentElement
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    IContentElement
    Type Parameters
    Name Description
    T

    InsertChildToIndex(Int32, IContentElement[])

    Declaration
    public void InsertChildToIndex(int index, params IContentElement[] children)
    Parameters
    Type Name Description
    System.Int32 index
    IContentElement[] children

    LogObjectTree()

    Declaration
    public string LogObjectTree()
    Returns
    Type Description
    System.String

    Remove()

    Declaration
    public override void Remove()
    Overrides
    ContentElement.Remove()

    RemoveAllChildren()

    Declaration
    public void RemoveAllChildren()

    RemoveChildren(IContentElement[])

    Declaration
    public void RemoveChildren(params IContentElement[] children)
    Parameters
    Type Name Description
    IContentElement[] children

    Implements

    ICloneableElement
    IParentElement
    IContentElement

    Inherited members

    _Index
    Replace(IContentElement)
    GetIndex()
    CloneObject<T>(T)
    CaptureInitialValues()
    Index
    Parent
    Status
    ☀
    ☾
    Downloads
    • Download with NuGet
    • Start for Free
    In This Article
    Back to top
    Install with NuGet
    Want to deploy IronPPT to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronPPT free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.