鼠标上的image button在背景颜色上



如何在鼠标上更改image button的颜色?

<ContentView xmlns="http://xamarin.com/schemas/2014/forms" 
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="DMInfoOrganizer.CheckBox">
    <ContentView.Content>
        <ImageButton x:Name="BtnCheck" Clicked="BtnCheck_Clicked"></ImageButton>
    </ContentView.Content>
</ContentView>

i用lucaszhang-msft建议的链接求解

<Application.Resources>
       <ResourceDictionary>
           <ResourceDictionary.ThemeDictionaries>
               <ResourceDictionary x:Key="Light">
                   <SolidColorBrush x:Key="ButtonBackgroundPointerOver" Color="Transparent" />
               </ResourceDictionary>
           </ResourceDictionary.ThemeDictionaries>
       </ResourceDictionary>
   </Application.Resources> 

非常感谢

最新更新