Error with latest version Xamarin.Forms Button.CornerRadius

前端 未结 1 1104
我在风中等你
我在风中等你 2021-01-26 10:26

[Update: Code worked on Android 8.0 simulator] I keep receive error No CornerRadius property found for the type Button My code behind

public TabbedPage1 ()
    {         


        
相关标签:
1条回答
  • 2021-01-26 11:00

    Try this:

    public TabbedPage1 ()
    {
        InitializeComponent();
        runButton.CornerRadius = screenX / 5;
    }
    
    0 讨论(0)
提交回复
热议问题