Button.Template WPF

前端 未结 1 1658
挽巷
挽巷 2021-01-26 08:57

I`ve created big button which contains grid as below:

   
相关标签:
1条回答
  • 2021-01-26 09:32

    The Grid needs to have a Background other than the default null to receive input events. You may set a transparent background instead of null:

    <Grid Background="Transparent">
        ...
    </Grid>
    
    0 讨论(0)
提交回复
热议问题