Back to Devexpress

TileView.ContextButtonClick Event

windowsforms-devexpress-dot-xtragrid-dot-views-dot-tile-dot-tileview-39a8e750.md

latest3.0 KB
Original Source

TileView.ContextButtonClick Event

Occurs whenever an end-user clicks a context button within a TileView tile.

Namespace : DevExpress.XtraGrid.Views.Tile

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Context Buttons")]
public event ContextItemClickEventHandler ContextButtonClick
vb
<DXCategory("Context Buttons")>
Public Event ContextButtonClick As ContextItemClickEventHandler

Event Data

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

PropertyDescription
DataItemGets or sets an Object that contains a clicked ContextItem. This object is a control or a control’s item.
ItemGets a clicked ContextItem.
ItemInfoGets or sets a clicked ContextItem‘s ContextItemViewInfo.
ScreenBoundsReturns a Rectangle that contains a ContextItem.

Remarks

TileView tiles can display content buttons that by default, are visible only when these tiles are hovered (see the figure below). The ContextButtonClick event allows you to process clicking any of these context buttons.

See the TileView.ContextButtons property for more info.

See Also

ContextButtons

Tile View

TileView Class

TileView Members

DevExpress.XtraGrid.Views.Tile Namespace