Class CollectionExEventArgs
CollectionEx event args.
Inheritance
System.Object
System.EventArgs
CollectionExEventArgs
Inherited Members
System.EventArgs.Empty
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.Diagram
Assembly: Syncfusion.Diagram.Base.dll
Syntax
public class CollectionExEventArgs : EventArgs
Constructors
CollectionExEventArgs(Object, CollectionExChangeType, ICollection, Int32)
Initializes a new instance of the CollectionExEventArgs class.
Declaration
public CollectionExEventArgs(object owner, CollectionExChangeType changeType, ICollection elements, int nIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Object | owner | The owner. |
CollectionExChangeType | changeType | Type of the change. |
System.Collections.ICollection | elements | The elements. |
System.Int32 | nIndex | Index of the n. |
CollectionExEventArgs(Object, CollectionExChangeType, Object, Int32)
Initializes a new instance of the CollectionExEventArgs class.
Declaration
public CollectionExEventArgs(object owner, CollectionExChangeType changeType, object element, int nIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Object | owner | The owner. |
CollectionExChangeType | changeType | Type of the change. |
System.Object | element | The element. |
System.Int32 | nIndex | Index of the n. |
Properties
Cancel
Gets or sets a value indicating whether cancels pending collection changes.
Declaration
public bool Cancel { get; set; }
Property Value
Type |
---|
System.Boolean |
ChangeType
Gets ColectionEx change type.
Declaration
public CollectionExChangeType ChangeType { get; }
Property Value
Type |
---|
CollectionExChangeType |
Element
Gets element involved in collection change.
Declaration
public object Element { get; }
Property Value
Type |
---|
System.Object |
Elements
Gets elements involved in collection change.
Declaration
public ICollection Elements { get; }
Property Value
Type |
---|
System.Collections.ICollection |
Index
Gets index of the element involved in collection change.
Declaration
public int Index { get; }
Property Value
Type |
---|
System.Int32 |
Owner
Gets Owner of this collection change.
Declaration
public object Owner { get; }
Property Value
Type |
---|
System.Object |