Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有两张图片,比如 png 和 jpeg,我需要覆盖它们。在 WPF 中,它可以由 DrawingGroup 完成(在 SL 中不可用)。我想这可能是用 WriteableBitmap 来完成的。你知道怎么做吗?
提前致谢!
干杯
只需使用 aGrid代替:-
Grid
<Grid> <Image Source="MyPic1.png" VerticalAlignment="Top" HorizontalAlignment="Left" /> <Image Source="MyPic2.jpg" VerticalAlignment="Top" HorizontalAlignment="Left" /> </Grid>