The event handler receives an argument of type DevExpress.Xpf.Diagram.DiagramQueryItemsActionEventArgs containing data related to this event.
The event's Items property returns the collection of diagram items on which an action is about to be performed. The action kind is returned by the Action property. You can prohibit the action from being performed by setting the Allow property to false.