title: How to know location is on/off in windows phone 8?
body: <p>I have tried the following code to check the status of location mode but it is not working for me.</p>
  
  <pre><code>Geolocator locationservice = new Geolocator();
  if (locationservice.LocationStatus == PositionStatus.Disabled)
  {
  locationButton.Opacity = 0.5;
  }
  </code></pre>