SwitchCell

SwitchCell 是一個 Cell,它結合了 Label 和 on-off 開關的功能。SwitchCell 可用於開啟和關閉功能,甚至使用者首選項或配置選項。

XAML

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

碼

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

StackOverflow 文件