Create Round Button with Border IN UWP Windows 10 C#

后端 未结 6 1263
盖世英雄少女心
盖世英雄少女心 2021-02-07 16:47

I am trying to create a round button, with a White Border and a Transparent Background (as the old AppBarButtons in Windows 8.1) in UWP Windows 10.

I have found several

6条回答
  •  闹比i
    闹比i (楼主)
    2021-02-07 17:19

    I don't know if the OP is still interested in rounded corner buttons, but for sake of completeness I think it may be helpful for other users to point out, as the user peterincumbria said, that for the lastest build of Windows 10 (1809) there is a new property in the class Control: CornerRadius. So now the following code is enough:

    Put this inside a Grid and we have a rounded corner button in the middle of the Page.

提交回复
热议问题