Class EventBaseCollection
Description for EventBaseCollection.
Inheritance
Namespace: Syncfusion.Windows.Forms.HTMLUI
Assembly: Syncfusion.HTMLUI.Windows.dll
Syntax
public class EventBaseCollection : CollectionBase
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
add_Cleared(CollectionEventHandler)
Declaration
public void add_Cleared(CollectionEventHandler value)
Parameters
| Type | Name | Description |
|---|---|---|
| CollectionEventHandler | value |
add_Clearing(CollectionEventHandler)
Declaration
public void add_Clearing(CollectionEventHandler value)
Parameters
| Type | Name | Description |
|---|---|---|
| CollectionEventHandler | value |
add_Inserted(CollectionEventHandler)
Declaration
public void add_Inserted(CollectionEventHandler value)
Parameters
| Type | Name | Description |
|---|---|---|
| CollectionEventHandler | value |
add_Inserting(CollectionEventHandler)
Declaration
public void add_Inserting(CollectionEventHandler value)
Parameters
| Type | Name | Description |
|---|---|---|
| CollectionEventHandler | value |
add_Removed(CollectionEventHandler)
Declaration
public void add_Removed(CollectionEventHandler value)
Parameters
| Type | Name | Description |
|---|---|---|
| CollectionEventHandler | value |
add_Removing(CollectionEventHandler)
Declaration
public void add_Removing(CollectionEventHandler value)
Parameters
| Type | Name | Description |
|---|---|---|
| CollectionEventHandler | value |
add_Set(CollectionEventHandler)
Declaration
public void add_Set(CollectionEventHandler value)
Parameters
| Type | Name | Description |
|---|---|---|
| CollectionEventHandler | value |
add_Setting(CollectionEventHandler)
Declaration
public void add_Setting(CollectionEventHandler value)
Parameters
| Type | Name | Description |
|---|---|---|
| CollectionEventHandler | value |
OnClear()
Overridden. Runs when Clear event raises.
Declaration
protected override void OnClear()
OnClearComplete()
Overridden. Runs when ClearComplete event raises.
Declaration
protected override void 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. |
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. |
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. |
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. |
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. |
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. |
RaiseOnChangedEvent()
Raises the OnChanged event.
Declaration
protected void RaiseOnChangedEvent()
remove_Cleared(CollectionEventHandler)
Declaration
public void remove_Cleared(CollectionEventHandler value)
Parameters
| Type | Name | Description |
|---|---|---|
| CollectionEventHandler | value |
remove_Clearing(CollectionEventHandler)
Declaration
public void remove_Clearing(CollectionEventHandler value)
Parameters
| Type | Name | Description |
|---|---|---|
| CollectionEventHandler | value |
remove_Inserted(CollectionEventHandler)
Declaration
public void remove_Inserted(CollectionEventHandler value)
Parameters
| Type | Name | Description |
|---|---|---|
| CollectionEventHandler | value |
remove_Inserting(CollectionEventHandler)
Declaration
public void remove_Inserting(CollectionEventHandler value)
Parameters
| Type | Name | Description |
|---|---|---|
| CollectionEventHandler | value |
remove_Removed(CollectionEventHandler)
Declaration
public void remove_Removed(CollectionEventHandler value)
Parameters
| Type | Name | Description |
|---|---|---|
| CollectionEventHandler | value |
remove_Removing(CollectionEventHandler)
Declaration
public void remove_Removing(CollectionEventHandler value)
Parameters
| Type | Name | Description |
|---|---|---|
| CollectionEventHandler | value |
remove_Set(CollectionEventHandler)
Declaration
public void remove_Set(CollectionEventHandler value)
Parameters
| Type | Name | Description |
|---|---|---|
| CollectionEventHandler | value |
remove_Setting(CollectionEventHandler)
Declaration
public void remove_Setting(CollectionEventHandler value)
Parameters
| Type | Name | Description |
|---|---|---|
| CollectionEventHandler | value |
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 |