Xamarin.Forms Content of a button

后端 未结 6 1033
我寻月下人不归
我寻月下人不归 2021-02-15 16:13

I\'m trying to add a custom content to a button in Xamarin Forms.

By default Button is created like this:

6条回答
  •  灰色年华
    2021-02-15 16:42

    I stumbled upon a problem, which turned out to be a recent bug described here.

    It forced me to the following hack, which I think is useful to know for others. When setting BackgroundColor directly in my ShoppingCartSummaryView, TapGestureRecognizer did not work.

        
        
            
                
            
        
    

提交回复
热议问题