Class EventBaseDictionary
Collection throws an event on any context change.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.HTMLUI
Assembly: Syncfusion.HTMLUI.Windows.dll
Syntax
public class EventBaseDictionary : DictionaryBase, IDictionary, ICollection, IEnumerable
Constructors
EventBaseDictionary()
Declaration
public EventBaseDictionary()
Properties
QuietMode
Gets or sets a value indicating whether event will be raised.
Declaration
public bool QuietMode { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
OnClear()
Overridden. Raised when clear event occurs.
Declaration
protected override void OnClear()
Overrides
OnClearComplete()
Overridden. Raised when ClearComplete event occurs.
Declaration
protected override void OnClearComplete()
Overrides
OnGet(Object, Object)
Overridden. Raised when Get event occurs.
Declaration
protected override object OnGet(object key, object currentValue)
Parameters
Type | Name | Description |
---|---|---|
System.Object | key | Key for getting value. |
System.Object | currentValue | Current value corresponding to this key. |
Returns
Type | Description |
---|---|
System.Object | Element with such a key and value. |
Overrides
OnInsert(Object, Object)
Overridden. Raised when Insert event occurs.
Declaration
protected override void OnInsert(object key, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | key | Key of the object. |
System.Object | value | Value of the object. |
Overrides
OnInsertComplete(Object, Object)
Overridden. Raised when InsertComplete event occurs.
Declaration
protected override void OnInsertComplete(object key, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | key | Key of the object. |
System.Object | value | Value of the object. |
Overrides
OnRemove(Object, Object)
Overridden. Raised when Remove event occurs.
Declaration
protected override void OnRemove(object key, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | key | Key of the object. |
System.Object | value | Value of the object. |
Overrides
OnRemoveComplete(Object, Object)
Overridden. Raised when RemoveComplete event occurs.
Declaration
protected override void OnRemoveComplete(object key, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | key | Key of the object. |
System.Object | value | Value of the object. |
Overrides
OnSet(Object, Object, Object)
Overridden. Raised when Set event occurs.
Declaration
protected override void OnSet(object key, object oldValue, object newValue)
Parameters
Type | Name | Description |
---|---|---|
System.Object | key | Key for getting value. |
System.Object | oldValue | Old value. |
System.Object | newValue | New value. |
Overrides
OnSetComplete(Object, Object, Object)
Overridden. Raised when SetComplete event occurs.
Declaration
protected override void OnSetComplete(object key, object oldValue, object newValue)
Parameters
Type | Name | Description |
---|---|---|
System.Object | key | Key of the object. |
System.Object | oldValue | Old value. |
System.Object | newValue | New value. |
Overrides
RaiseOnChangedEvent()
Raises the OnChanged Event.
Declaration
protected void RaiseOnChangedEvent()
Events
Cleared
Raised by OnClearComplete() method.
Declaration
public event DictionaryEventHandler Cleared
Event Type
Type |
---|
DictionaryEventHandler |
Clearing
Raised by OnClear() method.
Declaration
public event DictionaryEventHandler Clearing
Event Type
Type |
---|
DictionaryEventHandler |
Get
Raised by OnGet(Object, Object) method.
Declaration
public event DictionaryEventHandler Get
Event Type
Type |
---|
DictionaryEventHandler |
Inserted
Raised by OnInsertComplete(Object, Object) method.
Declaration
public event DictionaryEventHandler Inserted
Event Type
Type |
---|
DictionaryEventHandler |
Inserting
Raised by OnInsert(Object, Object) method.
Declaration
public event DictionaryEventHandler Inserting
Event Type
Type |
---|
DictionaryEventHandler |
OnChanged
Raised on any change in the collection.
Declaration
public event EventHandler OnChanged
Event Type
Type |
---|
System.EventHandler |
Removed
Raised by OnRemoveComplete(Object, Object) method.
Declaration
public event DictionaryEventHandler Removed
Event Type
Type |
---|
DictionaryEventHandler |
Removing
Raised by OnRemove(Object, Object) method.
Declaration
public event DictionaryEventHandler Removing
Event Type
Type |
---|
DictionaryEventHandler |
Set
Raised by OnSetComplete(Object, Object, Object) method.
Declaration
public event DictionaryEventHandler Set
Event Type
Type |
---|
DictionaryEventHandler |
Setting
Raised by OnSet(Object, Object, Object) method.
Declaration
public event DictionaryEventHandler Setting
Event Type
Type |
---|
DictionaryEventHandler |