In the previous step you set up the application's user interface and added a C1ToggleSwitch control to your application. In this step you will customize the control.
1. With the C1ToggleSwitch control selected on the page, select View | Properties.
2. Next to the Content property, enter "Security System ON." Your XAML should now look like this:
<Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
<my:C1ToggleSwitch Name="C1ToggleSwitch1" Content="Security System ON.">
</my:C1ToggleSwitch>
</Grid>
And the page will look like this:
Now you can add code to show a message when the switch is turned off and on.