change canvas color uwp c#

C#
new SolidColorBrush(Windows.UI.Colors.Blue)btn1.Foreground = new SolidColorBrush(Windows.UI.Colors.Blue);
Source

Also in C#: