Change icon based on condition

Beginner question: How do i set up a Icon data binding so that the icon changes based on a true/false state of a boolean page parameter?

Just figured it out after i posted the question:
${myBooleanParameter ? "done_outline" : "error"}

1 Like

Just in case, this answer does not help you: I was coming here but was looking for changing the icon within a data grid, by editing the column template: How to change icon based on condition within a datagrid? - Radzen IDE (Blazor server-side) - Radzen