The answer of Bogion Hoffman is magnificent!
But if none of its options work for you, you can always resort to using two different copies of the Text element along with the visible attribute (which supports expression binding):
<Text class="greenTextColor" text="{HintTable>IS_ENABLED}" visible="{= ${HintTable>IS_ENABLED === 'TRUE'} }" /> <Text class="redTextColor" text="{HintTable>IS_ENABLED}" visible="{= ${HintTable>IS_ENABLED !== 'TRUE'} }" />
Tipp:
Simplify your expressions if your model contains strings instead of strings:
visible="{= ${HintTable>IS_ENABLED} }"
and
visible="{= !${HintTable>IS_ENABLED} }"
source share