wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridcellmenuinfo.md
Namespace : DevExpress.Xpf.PivotGrid
Assembly : DevExpress.Xpf.PivotGrid.v25.2.dll
NuGet Package : DevExpress.Wpf.PivotGrid
public CellElementData CellElementData { get; }
Public ReadOnly Property CellElementData As CellElementData
| Type |
|---|
| CellElementData |
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CellElementData 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.
PivotGridCellMenuInfo menuInfo = pivotGrid.GridMenu.MenuInfo as PivotGridCellMenuInfo;
if (menuInfo != null && menuInfo.CellElementData != null &&
menuInfo.CellElementData.Value.ToString() != string.Empty)
Dim menuInfo As PivotGridCellMenuInfo = TryCast(Me.pivotGrid.GridMenu.MenuInfo, PivotGridCellMenuInfo)
If menuInfo IsNot Nothing AndAlso menuInfo.CellElementData IsNot Nothing AndAlso Not Equals(menuInfo.CellElementData.Value.ToString(), String.Empty) Then
Clipboard.SetDataObject(menuInfo.CellElementData.DisplayText)
See Also