Back to Devexpress

CollectionItemEventHandler Delegate

windowsforms-devexpress-dot-xtranavbar-c5cb7117.md

latest1.7 KB
Original Source

CollectionItemEventHandler Delegate

Represents a method that will handle the Collection.CollectionItemChanged event.

Namespace : DevExpress.XtraNavBar

Assembly : DevExpress.XtraNavBar.v25.2.dll

NuGet Package : DevExpress.Win

Declaration

csharp
public delegate void CollectionItemEventHandler(
    object sender,
    CollectionItemEventArgs e
);
vb
Public Delegate Sub CollectionItemEventHandler(
    sender As Object,
    e As CollectionItemEventArgs
)

Parameters

NameTypeDescription
senderObject

An object representing the source of the event (typically the collection whose item has been changed).

| | e | CollectionItemEventArgs |

A CollectionItemEventArgs object that contains event data.

|

Remarks

When you create a CollectionItemEventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate.

See Also

DevExpress.XtraNavBar Namespace