Hubtile“重置"时更改图像源 [英] Changing image source when Hubtile "resets"

查看:22
本文介绍了Hubtile“重置"时更改图像源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以当图像本身不可见时,我想让 Hubtile 的图像源发生变化.找不到当时调用的任何事件的代码.我可以使用触发器来执行此操作吗?

So I wanted to make Hubtile's Image Source change when the Image itself is not visible. Can't find the code of any events which are called then. Is there a trigger that I can use to do this?

推荐答案

正在浏览我的旧问题.为此,我制作了一个自定义的 Visual 状态管理器,它检查每个状态更改的 Hubtile 状态.当状态为隐藏状态时(或者当 hubtile 上的图像被隐藏时状态名称是什么)它改变了它上面的图像.

Was browsing my old questions. For this I made a custom Visual state manager which checked the Hubtile state every state changed. When the state was as hidden(or whatever the state name is when the image on the hubtile is hidden) it changed the image on it.

这篇关于Hubtile“重置"时更改图像源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆