Microsoft Band Development


  • Hi All,

    I want to add the Background color to the page in tile in the Microsoft Band. I am following the below code to create the tile in the band and to display the white color in background, but I didn't get the white color in page, Please help me to solve this problem.

    Guid tileguid = new Guid("C781F673-6D05-4D69-BCFF-EA7E706C3418");
    Guid pageguid = Guid.NewGuid();
    var panel = new FilledPanel
    Rect = new PageRect(0, 0, 220, 128),
    BackgroundColor = Colors.White.ToBandColor(),
    var layout = new PageLayout(panel);
    BandTile tile = new BandTile(tileguid)
    Name = "Torch Tile",
    TileIcon = await LoadIcon("ms-appx:///Assets/ElectricBulb.png"),
    SmallIcon = await LoadIcon("ms-appx:///Assets/Torchsmaltile.png")};
    await bandclient.TileManager.AddTileAsync(tile);

    Thanks & Regards,

    Sai Priya. C

    Monday, March 28, 2016 1:54 PM


All replies