Created
October 28, 2012 23:33
-
-
Save yesez/3970451 to your computer and use it in GitHub Desktop.
Comprobar si existe baldosa (tile) en Windows Phone
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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