如何在Windows Phone 8.1 Universal Apps中调整辅助磁贴的图像大小

时间:2015-06-24 04:10:25

标签: c# windows-runtime windows-phone-8.1 win-universal-app

我使用下面的代码,当我运行此代码Tile Created Successfully但瓷砖未显示完整图像时显示缩放图像如何调整图像调整辅助图块请帮助我....

 SecondaryTile _tile;
    public async void createtile()
    {
        Uri squareTileUri = new Uri("ms-appx:///Assets/1.jpg");
        Uri wideTileUri = new Uri("ms-appx:///Assets/2.jpg");

        _tile = new SecondaryTile("4455",
                                        "Devi",
                                        "devi",
                                        "devi",
                                        TileOptions.ShowNameOnWideLogo | TileOptions.ShowNameOnLogo,
                                        squareTileUri,
                                        wideTileUri);
        bool status = await _tile.RequestCreateAsync();
    }

0 个答案:

没有答案