所需效果如图所示 我们有DevExpress Control TileItem。我们希望文本显示在左下角,还需要在右下角放置一个图标
答案 0 :(得分:0)
我建议您使用相应的TextAlignment / ImageToTextAlignment属性:
tileItemElement1.Text = "My Tile Item Text";
tileItemElement1.TextAlignment = DevExpress.XtraEditors.TileItemContentAlignment.BottomLeft;
tileItemElement1.Image = /* some image */;
tileItemElement1.ImageToTextAlignment = DevExpress.XtraEditors.TileControlImageToTextAlignment.Right;
相关帮助主题:Tile Item Structure