[DXCategory("Behavior")] public event TileItemClickEventHandler ItemPress
<DXCategory("Behavior")> Public Event ItemPress As TileItemClickEventHandler
The ItemPress event's data class is TileItemEventArgs. The following properties provide information specific to this event:
|Item||Gets or sets a TileItem that caused firing a related event.|
Tile items have two event types to respond to an end-user clicking them at runtime: item press and item click events. Immediately after an end-user clicks a tile item, tile item press events are fired. First, the TileItem.ItemPress event is raised. After that, the ItemPress event is fired.
As soon as an end-user releases the left mouse button, the item click event is triggered. The TileItem.ItemClick event is fired first, followed by the TileControl.ItemClick event. Notice that if an end-user starts dragging a tile item, this action only produces item press events. Item click events are never fired in this case.