FixedFieldValue.Conditions Property
In This Article
Specifies field values that should be pinned.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.PivotGrid.v24.2.Core.dll
NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation
#Declaration
public FixedFieldValueConditionCollection Conditions { get; }
#Property Value
Type | Description |
---|---|
Fixed |
A Fixed |
#Remarks
The code snippet below illustrates how to pin the fieldQuantity field values that belong to the February 2015 interval.
using DevExpress.XtraPivotGrid;
//...
public Form1() {
var info = new FixedFieldValue(fieldQuantity);
info.Conditions.Add(
new FixedFieldValueCondition(fieldYear, new DateTime(2015, 2, 1)));
pivotGridControl1.FixedColumnFieldValues.Add(info);
}
If you specify no conditions, the “Grand Total” column is pinned.
See Also