wpf-devexpress-dot-xpf-dot-pivotgrid-dot-fieldvalueelementdata-366642b0.md
Gets whether the element is the Others item if the Top N Values feature is enabled for the field.
Namespace : DevExpress.Xpf.PivotGrid
Assembly : DevExpress.Xpf.PivotGrid.v25.2.dll
NuGet Package : DevExpress.Wpf.PivotGrid
public bool IsOthersRow { get; }
Public ReadOnly Property IsOthersRow As Boolean
| Type | Description |
|---|---|
| Boolean |
true if the element is the Others item; otherwise, false.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the IsOthersRow 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-create-field-value-template/CS/HowToCreateFieldValueTemplate/CategoriesControl.cs#L76
FieldValueElementData item = this.DataContext as FieldValueElementData;
if(item != null && !item.IsOthersRow && !string.IsNullOrEmpty(item.DisplayText)) {
ImageSource = CategoriesControl.GetImage(item.Value as string);
See Also