Skip to main content
A newer version of this page is available. .

PopupMenuShowingEventArgs.HitInfo Property

Gets an object that identifies a clicked element.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v17.2.dll

Declaration

public GridHitInfo HitInfo { get; }

Property Value

Type Description
GridHitInfo

A GridHitInfo object or its descendant that identifies a clicked element.

Remarks

The HitInfo property allows you to determine the Grid’s visual element for which a popup menu will be displayed.

For instance, to check the type of the clicked element, use the HitTest property provided by the HitInfo object.

See Hit Information Overview, for further information.

The following code snippets (auto-collected from DevExpress Examples) contain references to the HitInfo property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also