Developer technologies | Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi there,
The ListView Visibility="Collapsed" at the beginning. When I press the button, the color will go red. But if I open the ListView first, there is nothing change.
https://github.com/LeonNg963/WpfApp5.git
Best Regards,
Leon
You could update the code below and it will work fine.
public SolidColorBrush Status
{
get { return color; }
set { color = value; OnPropertyChanged("Status"); }
}
If the response is helpful, please click "Accept Answer" and upvote it. Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.