更新时间:2023-11-09 22:16:22
您似乎问错了问题.您只需在名为 img 的图像下方输入另一行,即可将另一个图像叠加在 img 之上.您也可以通过在 </FlipView>
行下方放置一个 Image
控件来实现.然后,您将使用其他项目绑定控制该叠加图像.
It seems like you might be asking the wrong question. You can overlay another image on top of img by just typing in another line below the Image named img. You can also do that by putting an Image
control below the </FlipView>
line. You would then control that overlaid image with additional item bindings.
如果您需要对单个 FlipViewItem
中的内容进行更多控制 - 您可以将整个 imgGrid Grid
放在 UserControl
中并将其放入DataTemplate
中的 UserControl
.
If you need some more control over what's in a single FlipViewItem
- you can put your entire imgGrid Grid
in a UserControl
and put that UserControl
in the DataTemplate
.