Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ExcelFilteringDataEventArgs.ChangeText(Object, String) Method

Changes the display text in the filter popup for the specified data value.

Namespace: DevExpress.XtraEditors.Filtering

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public bool ChangeText(
    object value,
    string text
)

#Parameters

Name Type Description
value Object

The data value for which to change the display text.

text String

The text to be displayed in the filter popup for the specified data value.

#Returns

Type Description
Boolean

true if the display text is successfully changed; otherwise, false.

#Remarks

The code snippet below changes the default display text to a custom one for a particular string data value.

e.ChangeText("Beetle", "Coccinelle");

See the result below.

ExcelFilteringDataEventArgs_ChangeText

See Also