SwitchCell

SwitchCell 是一个 Cell,它结合了 Label 和 on-off 开关的功能。SwitchCell 可用于打开和关闭功能,甚至用户首选项或配置选项。

XAML

<SwitchCell Text="Switch It Up!" />

码

var switchCell = new SwitchCell {
Text = "Switch It Up!"
};

StackOverflow 文档