GridMenuEventArgs.TargetElement Property
Gets the UI element for which the context menu is shown.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v14.2.Core.dll
#Declaration
#Property Value
Type | Description |
---|---|
IInput |
The element displayed within a View for which the context menu is shown. |
#Remarks
Column Menu
The TargetElement property returns the GridColumnHeaderBase object that represents the column header for which the context menu is shown.
Cell Menu
The TargetElement property returns the DevExpress.Xpf.Grid.GridCellContentPresenter object that represents the data cell for which the context menu is shown.
GroupPanel Menu
The TargetElement property returns the ContentControl object that represents the Group Panel.
Summary Menu
The TargetElement property returns the DevExpress.Xpf.Grid.GridTotalSummary object.