Skip to main content
A newer version of this page is available. .

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.v20.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