void HandleSetAsBackgroundCommand (object sender, EventArgs args) { Photo current = CurrentPhoto; if (current == null) return; Desktop.SetBackgroundImage (current.DefaultVersion.Uri.LocalPath); }