Search Results for

    Show / Hide Table of Contents

    Class CollectionWithEvents

    A CollectionBase that raises before/after events (Clearing/Cleared, Inserting/Inserted, Removing/Removed) as its contents change, and supports swapping two items by index.

    Inheritance
    object
    CollectionBase
    CollectionWithEvents
    TabPageCollection
    Implements
    IList
    ICollection
    IEnumerable
    Inherited Members
    CollectionBase.Clear()
    CollectionBase.RemoveAt(int)
    CollectionBase.GetEnumerator()
    CollectionBase.OnSet(int, object, object)
    CollectionBase.OnValidate(object)
    CollectionBase.OnSetComplete(int, object, object)
    CollectionBase.InnerList
    CollectionBase.List
    CollectionBase.Capacity
    CollectionBase.Count
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Reportman.Drawing.Forms
    Assembly: Reportman.Drawing.Forms.dll
    Syntax
    public class CollectionWithEvents : CollectionBase, IList, ICollection, IEnumerable

    Constructors

    View Source

    CollectionWithEvents()

    Declaration
    public CollectionWithEvents()

    Methods

    View Source

    IndexOf(object)

    Declaration
    protected int IndexOf(object value)
    Parameters
    Type Name Description
    object value
    Returns
    Type Description
    int
    View Source

    OnClear()

    Declaration
    protected override void OnClear()
    Overrides
    CollectionBase.OnClear()
    View Source

    OnClearComplete()

    Declaration
    protected override void OnClearComplete()
    Overrides
    CollectionBase.OnClearComplete()
    View Source

    OnInsert(int, object)

    Declaration
    protected override void OnInsert(int index, object value)
    Parameters
    Type Name Description
    int index
    object value
    Overrides
    CollectionBase.OnInsert(int, object)
    View Source

    OnInsertComplete(int, object)

    Declaration
    protected override void OnInsertComplete(int index, object value)
    Parameters
    Type Name Description
    int index
    object value
    Overrides
    CollectionBase.OnInsertComplete(int, object)
    View Source

    OnRemove(int, object)

    Declaration
    protected override void OnRemove(int index, object value)
    Parameters
    Type Name Description
    int index
    object value
    Overrides
    CollectionBase.OnRemove(int, object)
    View Source

    OnRemoveComplete(int, object)

    Declaration
    protected override void OnRemoveComplete(int index, object value)
    Parameters
    Type Name Description
    int index
    object value
    Overrides
    CollectionBase.OnRemoveComplete(int, object)
    View Source

    Switch(int, int)

    Declaration
    public void Switch(int index1, int index2)
    Parameters
    Type Name Description
    int index1
    int index2

    Events

    View Source

    Cleared

    Declaration
    public event CollectionClear Cleared
    Event Type
    Type Description
    CollectionClear
    View Source

    Clearing

    Declaration
    public event CollectionClear Clearing
    Event Type
    Type Description
    CollectionClear
    View Source

    Inserted

    Declaration
    public event CollectionChange Inserted
    Event Type
    Type Description
    CollectionChange
    View Source

    Inserting

    Declaration
    public event CollectionChange Inserting
    Event Type
    Type Description
    CollectionChange
    View Source

    Removed

    Declaration
    public event CollectionChange Removed
    Event Type
    Type Description
    CollectionChange
    View Source

    Removing

    Declaration
    public event CollectionChange Removing
    Event Type
    Type Description
    CollectionChange

    Implements

    IList
    ICollection
    IEnumerable
    • View Source
    In this article
    Back to top Generated by DocFX