Skip to content

Instantly share code, notes, and snippets.

@yesez
Created October 28, 2012 23:33
Show Gist options
  • Save yesez/3970451 to your computer and use it in GitHub Desktop.
Save yesez/3970451 to your computer and use it in GitHub Desktop.
Comprobar si existe baldosa (tile) en Windows Phone
public static bool ExisteBaldosa(Uri fuente)
{
if (ShellTile.ActiveTiles.Where((m) => m.NavigationUri == fuente).Count() == 0)
return false;
else return true;
}
// uso
if (ExisteBaldosa(NavigationService.Source) == true)
{...}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment