All docs
V21.1
21.2 (EAP/Beta)
21.1
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

PivotGridControl.CustomFilterDisplayText Event

Enables custom text to be displayed in the Filter Panel.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v21.1.dll

Declaration

public event ConvertEditValueEventHandler CustomFilterDisplayText

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