Back to Devexpress

ObjectSelectedEventHandler Delegate

windowsforms-devexpress-dot-xtramap-4363d272.md

latest1.5 KB
Original Source

ObjectSelectedEventHandler Delegate

A method that will handle the MapControl.ObjectSelected event.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

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

Parameters

NameTypeDescription
senderObject

The event source.

| | e | ObjectSelectedEventArgs |

The event data.

|

Remarks

When creating a ObjectSelectedEventHandler delegate, you identify the method that will handle the corresponding event. To associate an event with your event handler, add a delegate instance to this event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about event handler delegates, see Events and Delegates in MSDN.

See Also

DevExpress.XtraMap Namespace