✅ Change WPF element style depending on property value
Hey, trying to set the "disabled" color of a button in my little practice app.
I have the button setup with a command binding so that unless something is selected in a datagrid, the button is disabled.
I tried setting up a style trigger but assuming whatever is handling disabling the button automatically is not setting the "Disabled" property though.
I'm just trying to make the white color in the screenshot , set to the
#666
value.
0 Replies