CustomColumnDisplayTextEventArgs.IsForFilter Property
Gets a value that specifies whether the CustomColumnDisplayText
event is raised for the Filter Panel.
Namespace: DevExpress.XtraGrid.Views.Base
Assembly: DevExpress.XtraGrid.v24.1.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
Declaration
Property Value
Type | Description |
---|---|
Boolean | true if the |
Remarks
private void gridView1_CustomColumnDisplayText(object sender, DevExpress.XtraGrid.Views.Base.CustomColumnDisplayTextEventArgs e) {
if(e.IsForFilter)
e.DisplayText = ((int)e.Value).ToString() + " `custom text`";
}
The screenshot below shows the result:
See Also