I am customizing a tile being put into a Panorama. I want some text to the lower part of the tile. I've done this by creating a "LightVisualElement" and adding it to the tile's children... I then add a RadLabelElement to that VisualElement and set it's text. I would like that ext to be centered to the lower middle of the tile, however nothign I can do can make this happen.
I am setting the VisualElement's alignment to BottomCenter, and tried the same with the RadLabelElement. Any suggestions would be greatly appreciated.
LightVisualElement lowerElement;
lowerElement.Alignment = ContentAlignment.BottomCenter;
lowerElement.StretchHorizontally = true;
tile.Children.Add(lowerElement);
RadLabelElement deviceInfo = new RadLabelElement();
deviceInfo.StretchHorizontally = true;
deviceInfo.TextAlignment = ContentAlignment.BottomCenter;
deviceInfo.Alignment = ContentAlignment.BottomCenter;
lowerElement.Children.Add(deviceInfo);
etc.... none of that helps.