Class DictionaryEventArgs
Message / Data sender class. Class allows user to cancel action in which it was used as message sender class.
Inheritance
System.Object
System.EventArgs
DictionaryEventArgs
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.HTMLUI
Assembly: Syncfusion.HTMLUI.Windows.dll
Syntax
public class DictionaryEventArgs : EventArgs
Constructors
DictionaryEventArgs(Object, Object)
Initializes a new instance of the DictionaryEventArgs class
Declaration
public DictionaryEventArgs(object key, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | key | Key of object. |
System.Object | value | Value of object. |
DictionaryEventArgs(Object, Object, Object)
Initializes a new instance of the DictionaryEventArgs class
Declaration
public DictionaryEventArgs(object key, object value, object old)
Parameters
Type | Name | Description |
---|---|---|
System.Object | key | Key of object. |
System.Object | value | Value of object. |
System.Object | old | Old value of the object. |
Properties
Cancel
Gets or sets a value indicating whether to cancel the current action.
Declaration
public bool Cancel { get; set; }
Property Value
Type |
---|
System.Boolean |
Empty
Gets an empty instance of the class.
Declaration
public static DictionaryEventArgs Empty { get; }
Property Value
Type |
---|
DictionaryEventArgs |
Key
Gets the key value of the dictionary item.
Declaration
public object Key { get; }
Property Value
Type |
---|
System.Object |
OldValue
Gets the dictionary item which will be replaced.
Declaration
public object OldValue { get; }
Property Value
Type |
---|
System.Object |
Value
Gets the dictionary item.
Declaration
public object Value { get; }
Property Value
Type |
---|
System.Object |