如何在运行时从应用列表条目中隐藏 UWP 应用

How to hide UWP app from applist entry at runtime

目前我可以用这个

从系统应用列表条目中隐藏我的应用
<uap:VisualElements
    AppListEntry="none"
    ...
</uap:VisualElements>

但是有没有办法在运行时改变这个值?或者在安装应用程序之后。

不,设计上无法做到这一点。