This question is locked. New answers and comments are not allowed.
Hello,
I have a telerik tile control within xaml. I have set both front and back for the tile control. I then use this tile to set the RadExtendedTileData.
VisualElement. Should it not set both the front and back secondary tile that I'm trying to create?
public
MainPage()
{
InitializeComponent();
this
.frontTile.SetCityName(
this
.cityname.Text);
this
.radHubTile.Height = 173;
this
.radHubTile.Width = 173;
this
.frontTile.SetProperties(
new
BitmapImage(
new
Uri(
"/Images/sunny.png"
, UriKind.RelativeOrAbsolute)),
String.Format(
"25{0}"
, DegreeSign));
this
.radHubTile.FrontContent =
this
.frontTile;
this
.radHubTile.BackContent =
this
.backTile;
}
private
void
RadImageButton_Tap_1(
object
sender, System.Windows.Input.GestureEventArgs e)
{
RadExtendedTileData tileData =
new
RadExtendedTileData()
{
VisualElement = Tile
};
Uri tileUri =
new
Uri(
"/MainPage.xaml"
, UriKind.RelativeOrAbsolute);
ShellTile tile = Telerik.Windows.Controls.LiveTileHelper.GetTile(tileUri);
if
(tile !=
null
)
{
tile.Delete();
}
Telerik.Windows.Controls.LiveTileHelper.CreateTile(tileData, tileUri);
}