本文介绍了如何使枢轴控制标题透明,以便来自下方控件的图像渗透的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 如何使旋转控件标题背景不透明,以便滚动查看器中的图像显示在每个透视图项标题的文本下滑动?我可以使它成为一种纯色,我可以降低透明度(看起来似乎),但我看不到下面的图像。  我发现的最接近的是使整个标题不到100%不透明,但这也使文字透明。 这是现在发生的事情。我希望图像显示在它下面,而不是在顶部。  解决方案 这里的问题是z订购,而不是控件的背景。具有更高z顺序的控件,即在xaml中定义的最后一个控件将涵盖在同一范围内定义的任何控件。How can I make a pivot control header background not opaque so that the image from a scroll viewer appears to slide under the text of each pivot item title? I can make it a solid color and I can drop the transparency (so it seems) but I can't see the image underneath.  The closest i found was making the entire title less than 100% opaque but that makes the text transparent too.Here is what happens now. I want the image to appear under it, not on top.  解决方案 your problem here is about z ordering, and not the background of the control.  controls with a higher z order, ie defined last in xaml will cover any controls defined before it in the same scope. 这篇关于如何使枢轴控制标题透明,以便来自下方控件的图像渗透的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
07-01 07:39