locked
Change color of button's bakground

    Question

  • void Hello_World::MainPage::resetButton_PointerEntered(Platform::Object^ sender, Windows::UI::Xaml::Input::PointerRoutedEventArgs^ e)
    {
    	
    	resetButton->Background = SolidColorBrush(Color.Red);
    }
    I want to change the background color of a button. I'm just wondering why the code above does not work. I'm a newbie here. Thanks.
    Wednesday, June 11, 2014 7:17 AM

Answers