PivotGridControl.CustomFilterDisplayText Event
Enables custom text to be displayed in the Filter Panel.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.XtraPivotGrid.v24.2.dll
Declaration
Event Data
The CustomFilterDisplayText event's data class is ConvertEditValueEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Handled | Gets or sets a value specifying whether default edit value conversion/formatting is required. |
Value | Gets or sets either the edit or the display value of an editor. |
Remarks
In the following code snippet the CustomFilterDisplayText event is handled to display the “Filter is applied” string in the filter panel instead of the criteria string:
private void pivotGridControl1_CustomFilterDisplayText(object sender, DevExpress.XtraEditors.Controls.ConvertEditValueEventArgs e) {
if(e.Value != null) {
e.Value = "Filter is applied";
} else {
e.Value = e.Value.ToString();
}
e.Handled = true;
}
See Also