Open
Description
Current behavior
The Button in question has a click event that disables it:
20250514-1310-07.4455887.mp4
Expected behavior
The Button should properly display the disabled state when it is disabled upon being clicked.
- Set up a simple Material Button (any style) with a Click event:
public void Button_Click(object sender, RoutedEventArgs e)
{
if (sender is Button button)
{
button.IsEnabled = false;
}
}
- Upon clicking the Button, notice that it doesn't appear disabled, even though it no longer accepts clicks.
Environment
Nuget Package:
Package Version(s):
Affected platform(s): All