TileItem.ItemPress Event

Fires when an end-user presses the current TileItem.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll


public event TileItemClickEventHandler ItemPress
Public Event ItemPress As TileItemClickEventHandler

Event Data

The ItemPress event's data class is TileItemEventArgs. The following properties provide information specific to this event:

Property Description
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 ItemPress event is raised. After that the TileControl.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.

See Also