c# - How to recover the property TileID a SecondaryTile? -
in app, create secondarytile. arguments , tileid insert id property of object. how retrieve value in page when press on app.xaml.cs secondarytile , how navigate page want? code:
secondarytile t2 = new secondarytile(); t2.tileid = muss.id.tostring(); t2.arguments = muss.id.tostring(); string nome = "open arte"; t2.displayname = nome; t2.visualelements.square150x150logo = new uri(string.format("ms-appdata:///local/{0}", filename)); t2.visualelements.shownameonsquare150x150logo = true; await t2.requestcreateasync(); createlivetilesecondary();
you retrieve launchactivatedeventargs.tileid
property - see msdn
Comments
Post a Comment