menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class EventBaseCollection - API Reference

    Show / Hide Table of Contents

    Class EventBaseCollection

    Description for EventBaseCollection.

    Inheritance
    System.Object
    System.Collections.CollectionBase
    EventBaseCollection
    HTMLAttributesCollection
    HTMLElementsCollection
    HTMLEventsCollection
    HTMLFormatsCollection
    Implements
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    Inherited Members
    System.Collections.CollectionBase.Clear()
    System.Collections.CollectionBase.RemoveAt(System.Int32)
    System.Collections.CollectionBase.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
    System.Collections.CollectionBase.System.Collections.IList.get_Item(System.Int32)
    System.Collections.CollectionBase.System.Collections.IList.set_Item(System.Int32, System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Contains(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Add(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Remove(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.IndexOf(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Insert(System.Int32, System.Object)
    System.Collections.CollectionBase.GetEnumerator()
    System.Collections.CollectionBase.OnValidate(System.Object)
    System.Collections.CollectionBase.InnerList
    System.Collections.CollectionBase.List
    System.Collections.CollectionBase.Capacity
    System.Collections.CollectionBase.Count
    System.Collections.CollectionBase.System.Collections.IList.IsReadOnly
    System.Collections.CollectionBase.System.Collections.IList.IsFixedSize
    System.Collections.CollectionBase.System.Collections.ICollection.IsSynchronized
    System.Collections.CollectionBase.System.Collections.ICollection.SyncRoot
    System.Collections.CollectionBase.System.Collections.IList.Item[System.Int32]
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.HTMLUI
    Assembly: Syncfusion.HTMLUI.Windows.dll
    Syntax
    public class EventBaseCollection : CollectionBase, IList, ICollection, IEnumerable

    Constructors

    EventBaseCollection()

    Declaration
    public EventBaseCollection()

    Properties

    QuietMode

    Gets or sets a value indicating whether a collection work in silent mode without raising any event to user or in normal mode.

    Declaration
    public bool QuietMode { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    OnClear()

    Overridden. Runs when Clear event raises.

    Declaration
    protected override void OnClear()
    Overrides
    System.Collections.CollectionBase.OnClear()

    OnClearComplete()

    Overridden. Runs when ClearComplete event raises.

    Declaration
    protected override void OnClearComplete()
    Overrides
    System.Collections.CollectionBase.OnClearComplete()

    OnInsert(Int32, Object)

    Overridden. Runs when Insert event raises.

    Declaration
    protected override void OnInsert(int index, object value)
    Parameters
    Type Name Description
    System.Int32 index

    Index in the collection.

    System.Object value

    Value for inserting into the collection.

    Overrides
    System.Collections.CollectionBase.OnInsert(System.Int32, System.Object)

    OnInsertComplete(Int32, Object)

    Overridden. Runs when InsertComplete event raises.

    Declaration
    protected override void OnInsertComplete(int index, object value)
    Parameters
    Type Name Description
    System.Int32 index

    Index in the collection.

    System.Object value

    Value for inserting into the collection.

    Overrides
    System.Collections.CollectionBase.OnInsertComplete(System.Int32, System.Object)

    OnRemove(Int32, Object)

    Overridden. Runs when Remove event raises.

    Declaration
    protected override void OnRemove(int index, object value)
    Parameters
    Type Name Description
    System.Int32 index

    Index in the collection.

    System.Object value

    Value for inserting into the collection.

    Overrides
    System.Collections.CollectionBase.OnRemove(System.Int32, System.Object)

    OnRemoveComplete(Int32, Object)

    Overridden. Runs when RemoveComplete event raises.

    Declaration
    protected override void OnRemoveComplete(int index, object value)
    Parameters
    Type Name Description
    System.Int32 index

    Index in the collection.

    System.Object value

    Value to remove from the collection.

    Overrides
    System.Collections.CollectionBase.OnRemoveComplete(System.Int32, System.Object)

    OnSet(Int32, Object, Object)

    Overridden. Runs when Set event raises.

    Declaration
    protected override void OnSet(int index, object oldValue, object newValue)
    Parameters
    Type Name Description
    System.Int32 index

    Index in the collection.

    System.Object oldValue

    Old value of the object.

    System.Object newValue

    New value of the object.

    Overrides
    System.Collections.CollectionBase.OnSet(System.Int32, System.Object, System.Object)

    OnSetComplete(Int32, Object, Object)

    Overridden. Runs when SetComplete event raises.

    Declaration
    protected override void OnSetComplete(int index, object oldValue, object newValue)
    Parameters
    Type Name Description
    System.Int32 index

    Index in the collection.

    System.Object oldValue

    Old value of the object.

    System.Object newValue

    New value of the object.

    Overrides
    System.Collections.CollectionBase.OnSetComplete(System.Int32, System.Object, System.Object)

    RaiseOnChangedEvent()

    Raises the OnChanged event.

    Declaration
    protected void RaiseOnChangedEvent()

    Events

    Cleared

    Raised by OnClearComplete() method.

    Declaration
    public event CollectionEventHandler Cleared
    Event Type
    Type Description
    CollectionEventHandler

    Clearing

    Raised by OnClear() method.

    Declaration
    public event CollectionEventHandler Clearing
    Event Type
    Type Description
    CollectionEventHandler

    Inserted

    Raised by OnInsertComplete(Int32, Object) method.

    Declaration
    public event CollectionEventHandler Inserted
    Event Type
    Type Description
    CollectionEventHandler

    Inserting

    Raised by OnInsert(Int32, Object) method.

    Declaration
    public event CollectionEventHandler Inserting
    Event Type
    Type Description
    CollectionEventHandler

    OnChanged

    Raised on any change in the collection.

    Declaration
    public event EventHandler OnChanged
    Event Type
    Type Description
    System.EventHandler

    Removed

    Raised by OnRemoveComplete(Int32, Object) method.

    Declaration
    public event CollectionEventHandler Removed
    Event Type
    Type Description
    CollectionEventHandler

    Removing

    Raised by OnRemove(Int32, Object) method.

    Declaration
    public event CollectionEventHandler Removing
    Event Type
    Type Description
    CollectionEventHandler

    Set

    Raised by OnSetComplete(Int32, Object, Object) method.

    Declaration
    public event CollectionEventHandler Set
    Event Type
    Type Description
    CollectionEventHandler

    Setting

    Raised by OnSet(Int32, Object, Object) method.

    Declaration
    public event CollectionEventHandler Setting
    Event Type
    Type Description
    CollectionEventHandler

    Implements

    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable

    Extension Methods

    EnumerableExtensions.GetElementType(IEnumerable)
    EnumerableExtensions.GetItemPropertyInfo(IEnumerable)
    FunctionalExtensions.ForEach<T>(IEnumerable, Action<T>)
    FunctionalExtensions.ToList<T>(IEnumerable)
    FunctionalExtensions.MoveTo(IList, Int32, Int32)
    QueryableExtensions.OfQueryable(IEnumerable)
    QueryableExtensions.OfQueryable(IEnumerable, Type)
    QueryableExtensions.GroupByMany<TElement>(IEnumerable, Type, List<Func<TElement, Object>>)
    QueryableExtensions.GroupByMany(IEnumerable, Type, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Dictionary<String, IComparer<Object>>, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Func<String, Expression>, String[])
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved