TileControl.ItemPress Event

Fires when an end-user presses a TileItem within the current TileControl.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DXCategory("Behavior")]
public event TileItemClickEventHandler ItemPress
<DXCategory("Behavior")>
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.

Remarks

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.

Implements

DevExpress.XtraEditors.ITileControl.ItemPress
See Also