Bind class name to a variable

I'm trying to bind a class name on a label to a variable, however the injected text isn't the variable value, but the unparsed expression text.
Variable Status with value = 'Draft'
Expression on class name: ${Status}
Result: <label (...) class="${Status}" (...)></label>

Is this the expected behavior, or am I doing something wrong?


If this is directly Angular expression you should use {{Status}}

I'm not sure what you mean by that. I'm not using an HTML5 element, it's a radzen label.

Anyway, it worked using the Angular syntax.