I have created an application bar through codes(in xaml.cs), but if i tried to change the background color of the app bar, it throws an error. I think the below codes is not correct for an app bar.
ApplicationBar.BackgroundColor = new SolidColorBrush(Colors.Black);
Can anybody help me with this? Thanks for your help!