【发布时间】:2018-09-18 15:50:47
【问题描述】:
是否可以在工具栏上添加开关?
<ContentPage.ToolbarItems>
<ToolbarItem>
<Switch x:Name="Switch1" IsToggled="True" Margin="5,0,0,0"/>
</ToolbarItem>
</ContentPage.ToolbarItems>
有人有什么想法吗?
谢谢!
【问题讨论】:
标签: xamarin.forms switch-statement toolbar uiswitch