I\'ve tried to make a simple C# UWP application and I don\'t know how to remove the gray background when my mouse is over the button.
How I do that?
(remem
Follow these steps:
Then insert it in your ResourceDictionary.xaml format should look like this:
<ResourceDictionary><Style></Style></ResourceDictionary>
3. Give the Style a key like this:
<Style x:Key="MyCustomButton"></Style>
4. Go to App.xaml edit it by adding the Resource Dictionary like this:
<Application.Resources>
<ResourceDictionary Source="Resources.xaml"></ResourceDictionary>
</Application.Resources>
The Source of the ResourceDictionary is the Name of your ResourceDictionary file.
<Button Style="{StaticResource MyCustomButton}"></Button>
There is a more easy solution if you use Blend for Visual Studio there you can edit this stuff more quickly but to keep the structure and for learning it the solution above is the better one.