Try
<controls:ToggleSwitch Unchecked="ToggleNotification_Unchecked" Checked="ToggleNotification_Checked">
<controls:toggleswitch x:name="ToggleNotification" xmlns:x="#unknown" xmlns:controls="#unknown">
<controls:toggleswitch.headertemplate>
<datatemplate>
<contentcontrol content="{Binding}" />
</datatemplate>
</controls:toggleswitch.headertemplate>
<controls:toggleswitch.foreground>
<solidcolorbrush color="{StaticResource PhoneAccentColor}" />
</controls:toggleswitch.foreground>
</controls:toggleswitch>
The two eventa will handle your toggle code.