c# background color uwp code example
Example 1: button color uwp c#
btn1.Foreground = new SolidColorBrush(Windows.UI.Colors.Blue);
Example 2: change canvas color uwp c#
new SolidColorBrush(Windows.UI.Colors.Blue)
btn1.Foreground = new SolidColorBrush(Windows.UI.Colors.Blue);
new SolidColorBrush(Windows.UI.Colors.Blue)