Back to Devexpress

DataAreaElement.ElementData Property

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-dataareaelement.md

latest2.7 KB
Original Source

DataAreaElement.ElementData Property

Gets information about the field value cell or data area cell.

Namespace : DevExpress.Xpf.PivotGrid

Assembly : DevExpress.Xpf.PivotGrid.v25.2.dll

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public DataAreaElementData ElementData { get; }
vb
Public ReadOnly Property ElementData As DataAreaElementData

Property Value

TypeDescription
DataAreaElementData

A DataAreaElementData object that contains information about the field value cell or data area cell.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ElementData 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.

wpf-pivot-grid-show-top-n-values-in-context-menu/CS/ContextMenuToShowTopN_Example/MainWindow.xaml.cs#L51

csharp
FieldValueElementData valueItem = fvElement.ElementData as FieldValueElementData;
if (valueItem.IsLastLevelItem)

wpf-pivot-grid-show-top-n-values-in-context-menu/VB/ContextMenuToShowTopN_Example/MainWindow.xaml.vb#L49

vb
Dim valueItem As FieldValueElementData = TryCast(fvElement.ElementData, FieldValueElementData)
If valueItem.IsLastLevelItem Then

See Also

DataAreaElement Class

DataAreaElement Members

DevExpress.Xpf.PivotGrid Namespace