TileItem.ItemClick Event

Fires when an end-user clicks the current TileItem.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DXCategory("Behavior")]
public event TileItemClickEventHandler ItemClick
<DXCategory("Behavior")>
Public Event ItemClick As TileItemClickEventHandler

Event Data

The ItemClick 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

Handle the ItemClick event to respond to an end-user clicking a specific tile item. It is also possible to respond to tile clicking in a centralized way via the TileControl.ItemClick event.

You can also use the TileControl.ItemPress or TileItem.ItemPress events that are fired immediately after a mouse click. If an end-user starts dragging a tile, the ItemClick event is never fired for this tile.

The ItemClick event can be raised in code via the TileItem.PerformItemClick method. Right-clicking a TileItem fires the TileItem.RightItemClick event that can also be raised via the TileItem.PerformItemClick method. Notice that the TileItem.RightItemClick event is not fired for check items (see the TileControl.ItemCheckMode property).

Handle the TileItem.ItemClick event to respond to an end-user double-clicking the Tile.

See Also