public void InitTile()
{
InfoTile.Properties.FrameAnimationInterval = 5100;
InfoTile.Properties.BackgroundImageAlignment = TileItemContentAlignment.Default;
InfoTile.Properties.BackgroundImageScaleMode = TileItemImageScaleMode.Stretch;
DirectoryInfo TheFolder=new DirectoryInfo(@"Image\News");
foreach (FileInfo FI in TheFolder.GetFiles())
{
TileItemFrame info = new TileItemFrame();
info.AnimateBackgroundImage = true;
info.UseBackgroundImage = true;
info.BackgroundImage = System.Drawing.Image.FromFile(FI.FullName,true);
info.AnimateText = true;
info.UseText = true;
DiscountInfoTile.Frames.Add(info);
}
}
Hi Zhixin,
Yes, I see this behavior on my side. I've passed this ticket to our developers to research it. Stay tuned to our updates.