Class EventBaseCollection
Description for EventBaseCollection.
Inheritance
Implements
Inherited Members
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 |
---|
System.Boolean |
Methods
OnClear()
Overridden. Runs when Clear event raises.
Declaration
protected override void OnClear()
Overrides
OnClearComplete()
Overridden. Runs when ClearComplete event raises.
Declaration
protected override void OnClearComplete()
Overrides
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
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
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
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
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
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
RaiseOnChangedEvent()
Raises the OnChanged event.
Declaration
protected void RaiseOnChangedEvent()
Events
Cleared
Raised by OnClearComplete() method.
Declaration
public event CollectionEventHandler Cleared
Event Type
Type |
---|
CollectionEventHandler |
Clearing
Raised by OnClear() method.
Declaration
public event CollectionEventHandler Clearing
Event Type
Type |
---|
CollectionEventHandler |
Inserted
Raised by OnInsertComplete(Int32, Object) method.
Declaration
public event CollectionEventHandler Inserted
Event Type
Type |
---|
CollectionEventHandler |
Inserting
Raised by OnInsert(Int32, Object) method.
Declaration
public event CollectionEventHandler Inserting
Event Type
Type |
---|
CollectionEventHandler |
OnChanged
Raised on any change in the collection.
Declaration
public event EventHandler OnChanged
Event Type
Type |
---|
System.EventHandler |
Removed
Raised by OnRemoveComplete(Int32, Object) method.
Declaration
public event CollectionEventHandler Removed
Event Type
Type |
---|
CollectionEventHandler |
Removing
Raised by OnRemove(Int32, Object) method.
Declaration
public event CollectionEventHandler Removing
Event Type
Type |
---|
CollectionEventHandler |
Set
Raised by OnSetComplete(Int32, Object, Object) method.
Declaration
public event CollectionEventHandler Set
Event Type
Type |
---|
CollectionEventHandler |
Setting
Raised by OnSet(Int32, Object, Object) method.
Declaration
public event CollectionEventHandler Setting
Event Type
Type |
---|
CollectionEventHandler |