Back to Devexpress

Conditionally Change the Label Text

xtrareports-119438-feature-guide-to-devexpress-reports-use-expressions-expressions-tasks-and-solutions-conditionally-change-a-labels-text.md

latest615 B
Original Source

Conditionally Change the Label Text

  • Feb 18, 2026

This document describes how to display different values in the report control based on the specified condition.

Do the following:

  1. Select the control and click the f button to invoke the Expression Editor:

  2. Specify the following expression for the Text property:

  3. Switch to Print Preview to see the result:

See Also

Expression Language