title: How can I stop a Toggled Event on a switch from being fired as a page is loaded?
body: <p>My application has a switch set up in XAML and backend C# code that responds to the toggle event</p>
  
  <pre><code>&lt;ViewCell x:Name="ss"&gt;
     &lt;Switch x:Name="ssSwitch" Toggled="SsSwitch"   /&gt;
  &lt;/ViewCell&gt;
  
  void SsSwitch(object sender, ToggledEventArgs e) {
      // Code to update database here
  }
  </code></pre>
  
  <p>When the page first loads I notice that the SwSwitch Toggled event is called. </p>
  
  <p>Is there some way that I can stop this happening as there is no reason to do an update of the database on start up.</p>