Binding 'ButtonType' property.
I am trying to bind the 'ButtonType' property of a button with an expression. The expression is auto evaluated when a property value changes.
The output of the expression is a string with output value as 'Secondary' or 'Danger' depending on the scenario. But the button type does not seems work, it is always in black color instead of changing the color based on expression output.

