Class EventBaseDictionary
Represents a class that contains the various dictionary events.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Edit.Utils
Assembly: Syncfusion.Edit.Windows.dll
Syntax
public class EventBaseDictionary : DictionaryBase, IDictionary, ICollection, IEnumerable
Constructors
EventBaseDictionary()
Declaration
public EventBaseDictionary()
Properties
QuietMode
Gets or sets a value indicating whether events should be fired or not.
Declaration
public bool QuietMode { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
OnClear()
Fires corresponding events.
Declaration
protected override void OnClear()
Overrides
OnClearComplete()
Fires corresponding events.
Declaration
protected override void OnClearComplete()
Overrides
OnGet(Object, Object)
Fires corresponding events.
Declaration
protected override object OnGet(object key, object currentValue)
Parameters
Type | Name | Description |
---|---|---|
System.Object | key | The key of the element to get. |
System.Object | currentValue | The current value of the element associated with key. |
Returns
Type | Description |
---|---|
System.Object | An Object containing the element with the specified key and value. |
Overrides
OnInsert(Object, Object)
Fires corresponding events.
Declaration
protected override void OnInsert(object key, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | key | The key of the element to insert. |
System.Object | value | The value of the element to insert. |
Overrides
OnInsertComplete(Object, Object)
Fires corresponding events.
Declaration
protected override void OnInsertComplete(object key, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | key | The key of the element to insert. |
System.Object | value | The value of the element to insert. |
Overrides
OnRemove(Object, Object)
Fires corresponding events.
Declaration
protected override void OnRemove(object key, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | key | The key of the element to remove. |
System.Object | value | The value of the element to remove. |
Overrides
OnRemoveComplete(Object, Object)
Fires corresponding events.
Declaration
protected override void OnRemoveComplete(object key, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | key | The key of the element to remove. |
System.Object | value | The value of the element to remove. |
Overrides
OnSet(Object, Object, Object)
Fires corresponding events.
Declaration
protected override void OnSet(object key, object oldValue, object newValue)
Parameters
Type | Name | Description |
---|---|---|
System.Object | key | The key of the element to locate. |
System.Object | oldValue | The old value of the element associated with key. |
System.Object | newValue | The new value of the element associated with key. |
Overrides
OnSetComplete(Object, Object, Object)
Fires corresponding events.
Declaration
protected override void OnSetComplete(object key, object oldValue, object newValue)
Parameters
Type | Name | Description |
---|---|---|
System.Object | key | The key of the element to locate. |
System.Object | oldValue | The old value of the element associated with key. |
System.Object | newValue | The new value of the element associated with key. |
Overrides
Events
Cleared
Occurs when OnClearComplete() method is called.
Declaration
public event DictionaryEventHandler Cleared
Event Type
Type |
---|
Syncfusion.Windows.Forms.Edit.Utils.DictionaryEventHandler |
Clearing
Occurs when OnClear() method is called.
Declaration
public event DictionaryEventHandler Clearing
Event Type
Type |
---|
Syncfusion.Windows.Forms.Edit.Utils.DictionaryEventHandler |
Get
Occurs when OnGet(Object, Object) method is called.
Declaration
public event DictionaryEventHandler Get
Event Type
Type |
---|
Syncfusion.Windows.Forms.Edit.Utils.DictionaryEventHandler |
Inserted
Occurs when OnInsertComplete(Object, Object) method is called.
Declaration
public event DictionaryEventHandler Inserted
Event Type
Type |
---|
Syncfusion.Windows.Forms.Edit.Utils.DictionaryEventHandler |
Inserting
Occurs when OnInsert(Object, Object) method is called.
Declaration
public event DictionaryEventHandler Inserting
Event Type
Type |
---|
Syncfusion.Windows.Forms.Edit.Utils.DictionaryEventHandler |
Removed
Occurs when OnRemoveComplete(Object, Object) method is called.
Declaration
public event DictionaryEventHandler Removed
Event Type
Type |
---|
Syncfusion.Windows.Forms.Edit.Utils.DictionaryEventHandler |
Removing
Occurs when OnRemove(Object, Object) method is called.
Declaration
public event DictionaryEventHandler Removing
Event Type
Type |
---|
Syncfusion.Windows.Forms.Edit.Utils.DictionaryEventHandler |
Set
Occurs when OnSetComplete(Object, Object, Object) method is called.
Declaration
public event DictionaryEventHandler Set
Event Type
Type |
---|
Syncfusion.Windows.Forms.Edit.Utils.DictionaryEventHandler |
Setting
Occurs when OnSet(Object, Object, Object) method is called.
Declaration
public event DictionaryEventHandler Setting
Event Type
Type |
---|
Syncfusion.Windows.Forms.Edit.Utils.DictionaryEventHandler |